code: def _get_sorted_section(self, nts_section):
          if self.section_sortby is True:
              return sorted(nts_section, key=lambda nt: self.sortgos.usrgo_sortby(nt))
          if self.section_sortby is False or self.section_sortby is None:
              return nts_section
          return sorted(nts_section, key=lambda nt: self.section_sortby(nt))