Clears sorting applied to the View.
NuGet Package: DevExpress.Win.Grid
If there isn’t any grouping applied to the view, the ClearSorting method removes all the sorting applied to any columns.
If grouping is applied (in Grid Views), this method removes the sorting only from the columns which aren’t used to group data. To remove grouping call the GridView.ClearGrouping method.
To clear sorting by a particular column, set the column’s GridColumn.SortOrder property to ColumnSortOrder.None.
Please refer to the Sorting in Code topic for more information about sorting data.