Sorting with non-ASCII characters

Chris wendlec at tcd.ie
Thu Sep 19 08:18:10 PDT 2013


Short question in case anyone knows the answer straight away:

How do I sort text so that non-ascii characters like "á" are 
treated in the same way as "a"?

Now I'm getting this:

[wow, ara, ába, marca]

===> sort(listAbove);

[ara, marca, wow, ába]

I'd like to get:

[ ába, ara, marca, wow]

Thanks.





More information about the Digitalmars-d-learn mailing list