Simple Sorting solution