Sort

Provides details for the arrangement of a collection of elements in a prescribed sequence.

Fields

Name Default Field Type Description
fieldName * String The name of the field to order by.
ordering * OrderingEnum The direction of the sorting rule for the field.

Default Sorting

Default Sorting Field Default Ordering
order ASC

OrderingEnum

Value Description
DESC Descending ordering
ASC Ascending ordering