Self-sorting phenomena in complex supramolecular systems.