withSorting()
Home > @gooddata/sdk-backend-spi > IPreparedExecution > withSorting
IPreparedExecution.withSorting() method
Changes sorting of the resulting data. Any sorting settings accumulated so far WILL be wiped out.
Signature:
withSorting(...items: ISortItem[]): IPreparedExecution;
Parameters
Parameter | Type | Description |
---|---|---|
items | ISortItem[] | items to sort by |
Returns:
new execution with the updated sorts