@page "/datagrid-sort-comparer"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>Custom Sort Comparer</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Sort a Blazor DataGrid column with custom logic - supply your own IComparer to order values any way you need, such as ordering ids by their mapped display name. Custom comparers apply to in-memory data only.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridSortComparer">
    <DataGridSortComparer />
</RadzenExample>
