Message Text
Indexes are required to support element, element-attribute, json-property, or field sort specifications.
Cause
Sorting without index support will not perform well at scale, so it not a supported configuration in the Search API.
Response
Check your search options node with search:check-options
in strict mode to identify the missing index.