Make commutative lists sorted by its items lenghts.