Sorting Mechanism of Metal Complexes Induced by an Organic Monolayer