Changed sorting order of query results.