# SortBy Property

## Overloads

| [SortBy](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.INxMeasure.SortBy.htm#Qlik_Engine_INxMeasure_SortBy) |  | Defines the sort criteria.<br><br>The default value is sort by ascending alphabetic order.<br><br>This property is optional.<br><br>JSON property name: qSortBy |
| --- | --- | --- |

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

## SortBy

Defines the sort criteria.

The default value is sort by ascending alphabetic order.

This property is optional.

JSON property name: qSortBy

### Declaration

```

          SortCriteria SortBy { get; set; }
    
  
```

### Property Value

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