ContentId Sort Clause¶
The ContentId Sort Clause sorts search results by the content items' IDs.
Arguments¶
- (optional)
sortDirection- Query or LocationQuery constant, eitherQuery::SORT_ASCorQuery::SORT_DESC
Example¶
1 2 | |
The ContentId Sort Clause sorts search results by the content items' IDs.
sortDirection - Query or LocationQuery constant, either Query::SORT_ASC or Query::SORT_DESC1 2 | |