Link to home
Start Free TrialLog in
Avatar of Member_2_4768634
Member_2_4768634

asked on

Sorting special characters in a DataGrid

Hello!

Please somebody show me how to sort special characters like (üäöÜÄÖß) in a DataGrid.
I have get a working solution from Jones911 an Hobbit to sort the DataGrid, but without a function to sort the special characters too.

https://www.experts-exchange.com/questions/24134815/Automatic-sort-column-in-DataGrid.html?anchorAnswerId=23661164#a23661164

Now the sorting look like:

A
B
C
...
...
...
...
X
Y
Z
Ä
Ö
Ü

Thank´s in advance!
Avatar of Jones911
Jones911

I'll assume its sorting on ASCII value which is why the Ä goes to the end.

Do you want it like this:
A
Ä
B
C
...
...
...
...
Ö
Ü
X
X
Y
Z

?
Avatar of Member_2_4768634

ASKER

Yes that´s it!

Thank´s
ASKER CERTIFIED SOLUTION
Avatar of Jones911
Jones911

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial