Welcome to the WinUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinUI, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
In my project, data is loaded asynchronously, which results in the custom sort comparator not being called at all. Only clicking on the header results in the correct behavior.
I constructed a minimal project for reproduction.
If 'Data' is statically constructed, everything works as expected, but if you change the data afterwards, it won't work.
In the example I updated the data in the 'Loaded' event handler, which is enough to reproduce the bug.
FYI - This actually happens in Windows 11 for me, but I can't select that in the OS dropdown.