# Using Touch Support with Sorting

Learn how you can use touch gestures when sorting in Spread for ASP.NET control. Learn more in documentation.

## Content

You can use touch gestures when sorting.
Double-tap the sort indicator to sort. The [AllowSort](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.SheetView.AllowSort.html) property must be true to use touch gestures. The following image displays a sort indicator.
![Sort Indicator](https://cdn.mescius.io/document-site-files/images/346c9178-0ed8-4fb9-908b-1565b22fb408/artwork/tsort.png)
If the user selects a column that contains sorting and filtering indicators, the resize gripper is displayed. The gripper has a higher priority than the filter list or sort operation. Set the [HeaderIndicatorPositionAdjusting](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.FpSpread.HeaderIndicatorPositionAdjusting.html) property to specify the distance between the sorting and filtering indicators and the right edge of the column so that the user can sort or filter the column while the gripper is displayed.

## Using Code

Set the [HeaderIndicatorPositionAdjusting](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.FpSpread.HeaderIndicatorPositionAdjusting.html) property.

## Example

This example sets the [HeaderIndicatorPositionAdjusting](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.FpSpread.HeaderIndicatorPositionAdjusting.html) property.

```csharp
FpSpread1.Sheets[0].Columns.Count = 10;
FpSpread1.Sheets[0].Rows.Count = 20;
FpSpread1.Sheets[0].AllowSort = true;
FpSpread1.HeaderIndicatorPositionAdjusting = 5;
```

```vbnet
FpSpread1.Sheets(0).Columns.Count = 10
FpSpread1.Sheets(0).Rows.Count = 20
FpSpread1.Sheets(0).AllowSort = True
FpSpread1.HeaderIndicatorPositionAdjusting = 5
```

## See Also

[Customizing Sorting of Rows of User Data](/spreadnet/docs/latest/online-asp/overview/spweb-devguide/spweb-interaction/spweb-interact-sorting)