WPF DataGrid CustomSort for each Column
I created a couple of attached properties which handle this issue. I hope this comes in handy for someone! First – a simple interface for your directionalised comparer. This extends IComparer but gives us one more property (SortDirection). Your implementation should use this to determine the correct ordering of elements (which would otherwise have been … Read more