Perform Sorting In .NET MAUI Datagrid

Sample date Updated on Sep 13, 2025
maui multi-column sfdatagrid sort-number sorting tristate

This sample demonstrate how to perform sorting in the .NET MAUI data grid.

A quick-start example to help you to perform sort operations in Syncfusion .NET MAUI DataGrid. You will learn how to enable sorting in a DataGrid and how to enable tri state sorting, multi column sorting, show sort numbers, and sort column by double tapping. And you will learn how to disable sorting for an individual column, and sort columns by using cusotm logic.

Watch the video: Coming soon...

Documentation: https://help.syncfusion.com/maui/datagrid/sorting

Requirements to run the demo

To run the sample demo, refer to System Requirements for .NET MAUI.

Troubleshooting

Path too long exception

If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

Up arrow