L4 Distinct sorting problem.