Search
Sorting Search Results
Pass a Sort Parameter to a search request in order to Sort results.
The Sort Parameter takes two arguments:-
SortBy- What Search Results are Sorted By.Ascending(Boolean) Sort Results in Ascending Order default: false
Sort By Options
Use SortBy to control the ordering of search results, with one of the following options:
HitsSort Results by Hit CountDateSort by Upload DateSizeSort by Document SizeTypeSort by Document TypeFieldSort by Field Value
If Field is passed, an additional FieldName Parameter must be sent containing the name of the field to be sorted by.
Example Sort Options, Title ordered Ascending (A-Z):
{
  "SortBy" : "Title",
  "Ascending" : true
}