--- Added: v2.4.0 Status: Active --- # Sorting Picker Component Provides an ability to pick one of the predefined sorting definitions and define sorting direction: ```html ``` ![Sorting Picker](../docassets/images/sorting-picker.png) ## Options format You can bind a collection of any objects that expose the following properties: ```ts { key: string; label: string; } ``` ## Properties | Name | Type | Default Value | Description | | options | `Array<{key: string, label: string}>` | `[]` | Available sorting options. | | selected | `string` | | Currently selected option key. | | ascending | `boolean` | true | Current sorting direction. | ## Events | Name | Type | Description | | ---- | ---- | ----------- | | change | `EventEmitter<{ key: string, ascending: boolean }>` | Raised each time sorting key or direction gets changed. |