Skip to main content
Use the sort parameter to order results by a property:

Common sortable fields

Sort direction

By default, sort is ascending. Append :desc for descending:

Multiple sort keys

Sort by multiple properties using commas:
Sorting by relevance_score requires an active search. An error is thrown otherwise.