OrderBy
Order by Filter
Example
EmailAddresshttps://api.xero.com/api.xro/2.0/Contacts?order=EmailAddressEmailAddress DESChttps://api.xero.com/api.xro/2.0/Contacts?order=EmailAddress%20DESC
A list of items can be returned in a specific order. To specify the ordering, provide a property to order by and whether the order is ascending or descending.
Order contacts by email address
Ascending
EmailAddressbecomes
https://api.xero.com/api.xro/2.0/Contacts?order=EmailAddressin the query string.
Descending
EmailAddress DESCbecomes
https://api.xero.com/api.xro/2.0/Contacts?order=EmailAddress%20DESCin the query string.