Home > @poq/sdk-sfcc > Sort
Document representing a sort request.
Signature:
export declare class Sort extends BaseModel<Sort>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(params) | Constructs a new instance of the Sort class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| field | string | The name of the field to sort on. | |
| sortOrder? | SortSortOrderEnum | (Optional) The sort order to be applied when sorting. When omitted, the default sort order (ASC) is used. |