While searching for items sometimes it is necessary to get the result set sorted.
Building Sort Expression
Sort expressions are defined as JSON. It is defined as a collection of sort specs. Example:
- ASC - sort in ascending order. If no direction is specified ASC is assumed.
- DESC - sort in descending order.