TableQuery.Sorting Property

Provides access to sort settings used to order the result set of the current TableQuery by the specified column(s).

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.1.dll


public SortingInfoList Sorting { get; }

Property Value

Type Description

A SortingInfoList object providing access to the collection of SortingInfo objects that specify sort settings.


You can sort the result set by the specified column contained in the TableQuery in the following way.

  1. Pass the table name, the column name and the sort order to the SortingInfo constructor.
  2. Add the resulting SortingInfo object to the Sorting collection using the SortingInfoList.Add method.
See Also