Sorting order in query3 from INT