Sorting order in query8 from INT