# Sort Indicator

FlexGrid for WinForms lets you hide, display, position or customize the sort indicator. Know more about the sort indicator and its customization here.

## Content

FlexGrid displays sort indicator, a small triangular arrow sign, to indicate the direction of sorting. The grid also provides flexibility to hide, display, position or customize the indicator.

## Hide or Display Sort Indicator

FlexGrid, by default, displays the sort indicator when a column header is clicked to sort the columns. However, you can hide the indicator by setting the <span data-popup-content="This property is available in both \u003ca href=\u0022/componentone/docs/win/online-flexgrid/\u0022\u003e.NET Framework\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-flexgrid/\u0022\u003e.NET\u003c/a\u003e." data-popup-title="ShowSortPosition" data-popup-theme="ui-tooltip-green qtip-green">ShowSortPosition</span> property to **None**. The property accepts values from <span data-popup-content="This enumeration is available in both \u003ca href=\u0022/componentone/docs/win/online-flexgrid/\u0022\u003e.NET Framework\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-flexgrid/\u0022\u003e.NET\u003c/a\u003e." data-popup-title="ShowSortPositionEnum" data-popup-theme="ui-tooltip-green qtip-green">ShowSortPositionEnum</span> enumeration.

Use the code below to hide the sort indicator displayed on the sorted WinForms FlexGrid column.

```csharp
// Hide the sort indicator 
c1FlexGrid1.ShowSortPosition = ShowSortPositionEnum.None; 
```

```vbnet
' Hide the sort indicator 
c1FlexGrid1.ShowSortPosition = ShowSortPositionEnum.None       
```

## Position Sort Indicator

Sort indicator, by default, gets displayed towards the right side of the header cell. However, when the filtering is applied on a column, the sort indicator displays on top of the header cell to give place to the filtering icon. You can fix the position of sort indicator by setting value of **ShowSortPosition** property to **Top** or **Right**.

Customize the position of column sort indicator in WinForms FlexGrid using the code below.

```csharp
// Change the position of sort indicator to top
c1FlexGrid1.ShowSortPosition = ShowSortPositionEnum.Top; 
```

```vbnet
' Change the position of sort indicator to top
c1FlexGrid1.ShowSortPosition = ShowSortPositionEnum.Top       
```

## Customize Sort Indicator

FlexGrid provides the <span data-popup-content="This enumeration is available in both \u003ca href=\u0022/componentone/docs/win/online-flexgrid/\u0022\u003e.NET Framework\u003c/a\u003e and \u003ca href=\u0022C1.Win.FlexGrid.5~C1.Win.FlexGrid.GlyphEnum.html\u0022\u003e.NET\u003c/a\u003e." data-popup-title="GlyphEnum" data-popup-theme="ui-tooltip-green qtip-green">GlyphEnum</span> enumeration which lets you specify the image to be used for sort indicator. For more information on the **GlyphEnum** and glyph customization, see [Custom Glyphs](/componentone/docs/win/online-flexgrid/features/styling-and-appearance/custom-appearance/custom-glyph).