sorting works.