Gets the sort expression associated with the column or columns being sorted.
Assembly: System.Web (in System.Web.dll)
Use the property to determine the sort expression associated with the column or columns being sorted.
The GridView control has a built-in sorting feature that automatically sets this property. This property is typically used only when you need to programmatically determine the column or columns being sorted or when you are adding your own custom sorting functionality to a GridView control.
When multiple columns are sorted, this property contains a comma-separated list of the fields by which to sort.