Enable sorting for QueryRequest