Sorting
A sort specification used in a recommendation query request to order results.
Declaration
object RecommendationSortingProperties
| Name | Type | Description |
|---|---|---|
field Required | string | The name of the field to sort by. Use |
order | RecommendationSortingOrder | The sort direction. Defaults to |
Discussion
The Sorting specifies one sort dimension in the sorting array of a QueryRequest. The sorting array supports multiple entries, which the system applies in order. The first entry is the primary sort, the second is the tiebreaker, and so on.
Example
{
"field": "creationTime",
"order": "DESC"
}