The DevExpress ASP.NET Grid View (ASPxGridView) allows you to sort data against an unlimited number of columns, without writing a single line of code. A column's current sort order is indicated by a sort glyph displayed on the right side of the column header. When a column is not sorted, the sort glyph is hidden.
In this demo, you can click a column header to initiate sorting or change column sort order (from ascending to descending, and vice versa). To sort data against multiple columns, click the required column headers while holding down the SHIFT key.
Sorting can be enabled by setting the AllowSort option to true.
See Also: