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.

Priority Sort Clause

The Location\Priority Sort Clause sorts search results by the priority of the location.

Arguments

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

Example

In the REST API, this Sort Clause is called LocationPriority. Use it in the SortClauses element of the payload of the POST /views request:

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