New to Telerik UI for WinForms? Start a free 30-day trial
Sorting Expressions
Updated on Aug 27, 2026
Overview
The SortDescriptors collection exposes the Expression property which is used to create flexible sorting conditions. Expression is a string that contains the column name followed by "ASC" (ascending) or "DESC" (descending). The columns are sorted ascending by default. Multiple columns can be separated by commas.
Creating expressions
Creating a simple expression:
Creating simple sorting expression
C#
this.radGridView1.SortDescriptors.Expression = "ShipName ASC";
Sorting by two columns using expressions:
Sorting by two columns, using sorting expression
C#
this.radGridView1.SortDescriptors.Expression = "ShipName ASC, Freight DESC";