A sort directive that defines the ordering of query results.
Specify the entity property to sort by and a direction
of asc (ascending) or desc (descending).
Multiple order directives can be added to a filter to define multi-column sorting.
| Name | Type | Description | |
|---|---|---|---|
property
|
string
|
The entity property name to sort by (e.g., name, createdDate, id).
|
|
direction
|
string
|
The sort direction: asc for ascending or desc for descending.
|
{
"order" : {
"property" : "...",
"direction" : "..."
}
}
A sort directive that defines the ordering of query results.
Specify the entity property to sort by and a direction
of asc (ascending) or desc (descending).
Multiple order directives can be added to a filter to define multi-column sorting.
| Name | Type | Description | |
|---|---|---|---|
direction
|
string
|
The sort direction: asc for ascending or desc for descending.
|
|
property
|
string
|
The entity property name to sort by (e.g., name, createdDate, id).
|
<order>
<property>...</property>
<direction>...</direction>
</order>