Parameters
- order
- C1.Win.C1FlexGrid.SortFlags value that specifies the sort direction and options.
- rg
- C1.Win.C1FlexGrid.CellRange object that specifies the range of cells to sort.
When you sort multiple columns, the same sorting options are applied to each column, starting from the leftmost column in the range and proceeding to the right.
To sort multiple columns using a different sorting order for each, you can either call the C1.Win.C1FlexGrid.C1FlexGridBase.Sort method multiple times or set each column's C1.Win.C1FlexGrid.Column.Sort property and call the C1.Win.C1FlexGrid.C1FlexGridBase.Sort method including the C1.Win.C1FlexGrid.SortFlags.UseColSort flag in the flags parameter.