SortOrder Data Type

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.

Available Since
1.3.0
Properties
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.
SortOrder (JSON)
{
  "order" : {
    "property" : "...",
    "direction" : "..."
  }
}
SortOrder Data Type

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.

Available Since
1.3.0
Properties
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).
SortOrder (XML)
<order>
  <property>...</property>
  <direction>...</direction>
</order>