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.

ContentId Sort Clause

The ContentId Sort Clause sorts search results by the content items' IDs.

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>
        <ContentId>ascending</ContentId>
    </SortClauses>
</Query>
1
2
3
4
5
"Query": {
    "SortClauses": {
        "ContentId": "ascending"
    }
}