We have a problem with column sorting in case column uses converter to display values.
There is a grid column:
Property NameToDisplay is bound to column and it may contains the following values:
Item1, Item2… Item10, Item11… Item20, Item21…
When converter is applied displayed values are:
Item001, Item002… Item010, Item011… Item020, Item021…
The problem is occurring in case sorting is applied.
Instead of having following list of items: Item001, Item002… Item010,
Item011… Item020, Item021… after sorting is performed we have:
Item001, Item010, Item011… Item002, Item020, Item021…
Apparently, sorting works based on bound data, not converted
Please advise if there is an appropriate way to avoid this
I cannot change values which are bound to the column and I
would like to avoid custom sorting if it is possible.
Thank you in advance.