code: def dump_nt_sorted(g: Graph) -> List[str]:
      
      return [l.decode('ascii') for l in sorted(g.serialize(format='nt').splitlines()) if l]
docs: Dump graph g in a sorted n3 format
      :param g: graph to dump
      :return: stringified representation of g