Sorting order in query5 from INT