code: def get_ntgos_sorted(self, hdrgos):
          
          go2nt = self.grprobj.go2nt
          return sorted([go2nt[go] for go in hdrgos if go in go2nt], key=self.fncsortnt)
docs: Return sorted Grouper namedtuples if there are user GO IDs underneath.