Skip to main content

SelectQuery.SortBy(Table, String) Method

Sorts a data table by a specified column.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

Declaration

public Sorting SortBy(
    Table table,
    string columnName
)

Parameters

Name Type Description
table Table

A Table object.

columnName String

A String value, specifying the column name.

Returns

Type Description
Sorting

A Sorting object.

See Also