## SortRange class

Indicates a range of a Worksheet and provide method to sort the range datas by row or column.

```csharp
public class SortRange
```

## Constructors

| Name | Description |
| --- | --- |
| [SortRange](sortrange/)(Worksheet, int, int, int, int, SortOrientation, bool) | Intializes a new instance of the `SortRange` class by specifing a worksheet range and sort orientation. |

## Methods

| Name | Description |
| --- | --- |
| [Sort](../../aspose.cells.griddesktop/sortrange/sort/#sort)(int) | Sorts the datas ascend in the range by index. |
| [Sort](../../aspose.cells.griddesktop/sortrange/sort/#sort_2)(int[]) | Sorts the datas ascend in the range by some field that are specifed by array indexes. |
| [Sort](../../aspose.cells.griddesktop/sortrange/sort/#sort_1)(int, SortOrder) | Sorts the datas in the range by index. |
| [Sort](../../aspose.cells.griddesktop/sortrange/sort/#sort_3)(int[], SortOrder[]) | Sorts the datas in the range by some field that are specifed by array indexes. |

### See Also

* namespace [Aspose.Cells.GridDesktop](../../aspose.cells.griddesktop/)
* assembly [Aspose.Cells.GridDesktop](../../)


