Narcissistic self-sorting in anion-coordination-driven assemblies.