Insert OrderBy in the query