Enum SortOrder
Specifies the sort order used to arrange items in a data-bound list component.
Namespace: Syncfusion.Blazor.DropDowns
Assembly: Syncfusion.Blazor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum SortOrder
Remarks
Sort order can be configured for SfDropDownList, SfComboBox, SfAutoComplete, and other DropDown components that support sorting.
Examples
SortOrder order = SortOrder.Ascending;
Fields
| Name | Description |
|---|---|
| Ascending | Sort the data source in ascending (A-Z or lowest-to-highest) order. |
| Descending | Sort the data source in descending (Z-A or highest-to-lowest) order. |
| None | No sorting is applied to the data source; items remain in original order. |