fix sort by in queries 62, 63