Data Sorting solved