# sortedColumnIndex

> The index of the column that is set to be the primary sorting column. This is the column that shows the sorting arrow above the header text.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.3/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor

```csharp
public int sortedColumnIndex { get; set; }
```

### Remarks

Default value: -1 (no sorting).
