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