Skip to main content
A newer version of this page is available. .

GroupField.SortOrder Property

Gets or sets the order for the records when grouping or sorting columns in a report’s data source.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

[DefaultValue(XRColumnSortOrder.Ascending)]
[SRCategory(ReportStringId.CatBehavior)]
public XRColumnSortOrder SortOrder { get; set; }

Property Value

Type Default Description
XRColumnSortOrder Ascending

An XRColumnSortOrder enumeration value.

Remarks

The SortOrder property specifies a sorting order for the values in the group field. To disable sorting in grouped data, set this property to None.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SortOrder property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also