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.

Sort Clause reference

Sort Clauses are the sorting options for content and location search.

You use them over the REST API, in the SortClauses element of the payload of the POST /views request.

All Sort Clauses take the sorting direction as their value, either ascending (default) or descending.

Sort Clauses

Sort Clause Sorting based on Content Search Location Search Filtering
ContentId Content items' ID ✔ ✔ ✔
ContentName Content names ✔ ✔ ✔
DateModified The date when content was last modified ✔ ✔ ✔
DatePublished The date when content was created ✔ ✔ ✔
Depth Location depth in the content tree ✔ ✔
Field Content of one of content item's fields ✔ ✔
Id Location ID ✔ ✔
Path PathString of the Location ✔ ✔
Priority Location priority ✔ ✔
Score Score of the search result ✔ ✔
SectionIdentifier ID of the Section content is assigned to ✔ ✔ ✔
SectionName Name of the Section content is assigned to ✔ ✔ ✔