Indexes are required to support element, element-attribute, json-property, or field sort specifications.
Sorting without index support will not perform well at scale, so it not a supported configuration in the Search API.
Check your search options node with search:check-options in strict mode to identify the missing index.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.