Sorting order in query7 from INT