Fixed Sorting of lists for all types