Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

DateModified Sort Clause

The DateModified Sort Clause sorts search results by the date and time of the last modification of a content item.

Arguments

  • (optional) sorting direction, either ascending (default) or descending

Example

You can use this Sort Clause over the REST API, in the SortClauses element of the payload of the POST /views request:

1
2
3
4
5
<Query>
    <SortClauses>
        <DateModified>ascending</DateModified>
    </SortClauses>
</Query>
1
2
3
4
5
"Query": {
    "SortClauses": {
        "DateModified": "ascending"
    }
}