Sorting order in query6 from INT