14. Sort a collection
GET http://services.odata.org/V4/TripPinService/People?$orderby=length(FirstName) desc,UserName
You can use the $orderby system query option to specify ordering criteria. You can use many of the functions usable in $filter in $orderby as well.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
$orderby | string |