# SortByFrequency Property

## Overloads

| [SortByFrequency](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SortCriteria.SortByFrequency.htm#Qlik_Engine_SortCriteria_SortByFrequency) |  | Sorts the field values by frequency (number of occurrences in the field).<br><br>JSON property name: qSortByFrequency |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SortCriteria.SortByFrequency.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SortCriteria.SortByFrequency.htm)

## SortByFrequency

Sorts the field values by frequency (number of occurrences in the field).

JSON property name: qSortByFrequency

### Declaration

```

          public SortDirection SortByFrequency { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| [SortDirection](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SortDirection.htm) |  |

### Implements

[ISortCriteria.SortByFrequency](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ISortCriteria.SortByFrequency.htm#Qlik_Engine_ISortCriteria_SortByFrequency)