Depth Sort Clause¶
The Location\Depth Sort Clause sorts search results by the depth of the location in the content tree.
Arguments¶
- (optional) sorting direction, either
ascending(default) ordescending
Example¶
In the REST API, this Sort Clause is called LocationDepth.
Use it in the SortClauses element of the payload of the POST /views request:
1 2 3 4 5 | |
1 2 3 4 5 | |