Properly sort destinations.