I am having a Infragistics XamComboEditor which needs its values to be sorted according to Excel's ascending sorting logic. It is bound to an ObservableDictionary<int, string> with DisplayMemberPath as Value. This value can have special characters, numbers and alphabets together or simply either one of them. Is there any way to achieve this requirement without handling all the cases manually?
I have tried using ChatGPT but the code provided by it is not providing expected results. This is a sample input in excel Sorting it in ascending order in Excel givs following result
SortDescriptionsto CollectionView that can have more complex and custom sorting rules. This is my go to if I need filtering, sorting or grouping for display purposes.CollectionView.