Newer Version Available
ListViewOrderBy
Use the ListViewOrderBy object with executeListView() to
determine the order in which records are returned from a list view.
The ListViewOrderBy object is returned by the describeSoqlListViews() call, is an optional input to the
executeListView() call, and has the following properties:
| Name | Type | Description |
|---|---|---|
| fieldNameOrPath | string | The field name or SOQL path of the field on which to sort the records. |
| nullsPosition | orderByNullsPosition | An enumerated value that determines where nulls are sorted in the results:
|
| sortDirection | orderByDirection | An enumerated value that determines the sort order of the results:
|