OrderByDescending not working on DataGrid

OrderByDescending is not passing through the property to the LoadData args.

I have a sort column that is ascending and another that is descending, only the ascending sort column shows up in the sorts list and the orderby property on the LoadData args.

sortList is a list of SortDescriptor.

See images below.


image

I found a workaround. I set the column.SortOrder to Ascending then use OrderBy() method which changes the sorting order to Descending and passes the LoadData args correctly.

Hi @michaelgrissom,

Thanks for the report! It will be fixed in the next update.