# SortCriteria

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qSortByState | Sorts the field values according to their logical state (selected, optional, alternative or excluded). | Integer (int8) |
| qSortByFrequency | Sorts the field values by frequency (number of occurrences in the field). | Integer (int8) |
| qSortByNumeric | Sorts the field values by numeric value. | Integer (int8) |
| qSortByAscii | Sorts the field by alphabetical order. | Integer (int8) |
| qSortByLoadOrder | Sorts the field values by the initial load order. | Integer (int8) |
| qSortByExpression | Sorts the field by expression. | Integer (int8) |
| qExpression |  | [ValueExpr](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/EngineJSONAPI/Content/models-valueexpr.htm) |
| qSortByGreyness |  | Integer (int8) |