- Interfaces
SortValue
Version:
| Type | Interface |
| Import path | @sitecore-cloudsdk/search/browser |
The sort parameter options of the search widget item. Used to configure the sorting of search results.
Signature
Properties
| Name | Type | Description | Value |
|---|---|---|---|
| name | string | Required.The sort type to use for sorting results. Set the value to a sort type defined in Sitecore Search. | "recommended""newest""name""reviews" |
| order | SortingOptions | Optional.Whether to sort values in an ascending ("asc") or descending ("desc") order. | "asc" |
If you have suggestions for improving this article, let us know!