All Demos / Tree Grid / Sorting / Custom Sorting

Blazor TreeGrid Example - Custom Sorting

Loading Syncfusion Blazor Server Demos…
This demo passes automated axe checks with 0 violations — semantic markup, ARIA, full keyboard operation, visible focus. Section 508 conformant Accessibility report VPAT

This sample demonstrates applying custom sorting logic. Columns can be ordered based on a predefined sequence rather than default alphabetical or numeric sorting.

Enable sorting by setting AllowSorting to true. Click column headers to sort.

In this demo, custom sort logic is applied via SortComparer:

  • Priority: custom sequence – Low, Normal, High, Critical
  • Story Points: numeric sorting, even though values are stored as strings

More information on custom sorting can be found in the documentation section.