Clears sorting applied to the View.
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.
Please refer to the Sorting in Code topic for more information about sorting data.