code: def normalize(self):
          
          corefs = []
          types = []
          avms = []
          for term in self._terms:
              if isinstance(term, TypeTerm):
                  types.append(term)
              elif isinstance(term, AVM):
                  term.normalize()
                  avms.append(term)
              elif isinstance(term, Coreference):
                  corefs.append(term)
              else:
                  raise TdlError('unexpected term {}'.format(term))
          self._terms = corefs + types + avms
docs: Rearrange the conjunction to a conventional form.
  
          This puts any coreference(s) first, followed by type terms,
          then followed by AVM(s) (including lists). AVMs are
          normalized via :meth:`AVM.normalize`.