For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md. Documentation > Search > Sort Clause reference > General Sort Clauses > ContentId ContentId Sort Clause¶ The ContentId Sort Clause sorts search results by the content items' IDs. Arguments¶ (optional) sortDirection - Query or LocationQuery constant, either Query::SORT_ASC or Query::SORT_DESC Copy as Markdown View as Markdown View on GitHub