## GridCells.SortAsNumber method

Sorts the data of the area (the key column data shall be number).

```csharp
public void SortAsNumber(int startRow, int startColumn, int rows, int columns, int[] indexes, 
    SortOrder[] orders, SortOrientation orientation)
```

| Parameter | Description |
| --- | --- |
| cells | The cells contains the data area. |
| startRow | The start row of the area. |
| startColumn | The start column of the area. |
| rows | the total rows. |
| columns | The total columns. |
| indexes | The sorted column index array |
| orders | The sorted order array |
| orientation | the sorting orientation:from left to right or from top to bottom. |

### See Also

* enum [SortOrder](../../../aspose.cells.griddesktop/sortorder/)
* enum [SortOrientation](../../../aspose.cells.griddesktop/sortorientation/)
* class [GridCells](../)
* namespace [Aspose.Cells.GridDesktop.Data](../../../aspose.cells.griddesktop.data/)
* assembly [Aspose.Cells.GridDesktop](../../../)


