Search.../

Orders: Supported Sorting and Faceting

Select functions allow sorting results by field. Use field:asc to sort results in ascending order, and field:desc to sort in descending order.

For example, to sort orders by created date in ascending order, and then by name in descending order, use this format in the options parameter:

{
sort: 'created:asc,name:desc'
}
js | Copy Code

The following table shows property support for sorting for the Order object:

FieldSortableFacetable
createdSortable
nameSortable
scoreSortable
orderNumberSortable
statusFacetable
archivedFacetable
fullyCheckedInFacetable

Related content: listOrders

Was this helpful?