code: def _prt_txt_desc2nts(self, prt, desc2nts, prtfmt=None):
          
          if prtfmt is None:
              prtfmt = self.get_prtfmt("fmta")
          if self.ver_list is not None:
              prt.write("# Versions:\n#    {VER}\n".format(VER="\n#    ".join(self.ver_list)))
          self.prt_txt_desc2nts(prt, desc2nts, prtfmt)
docs: Print grouped and sorted GO IDs.