The Blazor DataGrid allows users to sort rows either in the ascending or descending order against a column by simply clicking the header. Sort multiple columns’ data by holding the Ctrl key and clicking the header.
Sort Data Grid rows using multiple columns by clicking the desired column headers and holding Ctrl or Command keys.
Built-in options are provided to define the custom sort logic for the desired columns. The custom sort comparer class should be implemented in the interface IComparer.