Cu(II) and a bis-β-diketone ligand generate a small constitutional dynamic library (CDL). The designed introduction of a well suited guest drives the self-sorting of the system toward a supramolecular triangle. Alternatively, the triangle self-assembly is templated by the same guest in a one-pot synthesis.