Sorting order in query12 from INT