Sorting options for a query. Returned Orders will always be sorted on a timestamp.
Name | Type | Description | Notes |
---|---|---|---|
sortField | String | The field to sort by. Important: When using a DateTimeFilter, `sort_field` must match the set time range field. If this field does not match the time range field in `DateTimeFilter`, SearchOrder will return an error. Default: `CREATED_AT`. See SearchOrdersSortField for possible values | |
sortOrder | String | The order in which results are returned. Defaults to `DESC`. See SortOrder for possible values | [optional] |