Formation of linear main-chain polypseudorotaxanes with supramolecular polymer backbones via two self-sorting host-guest recognition motifs.