title: Marklogic Order By using Java API
body: <p>We have a requirement wherein we have to apply sorting to the query using Java API. I have a date field the query results needs to be ordered by that field. How can I achieve this using Java API?</p>