Sort problem

Beatrix Willius bwillius at gmx.de
Sat Aug 2 10:23:25 CDT 2014


Hi,

how do I do a sort that sorts umlauts (ö = oe) different than the original character (o)?

My test data is

smorebröd
smörebröd:test
smorebröd:test
smörebröd

If I sort this in Xojo with a comparing function:

Function Compare(s1 as String, s2 as String) As Integer
  const NSCaseInsensitiveSearch = 1 
  Return NSStringCompareMBS(s1, s2, NSCaseInsensitiveSearch)
End Function

then I get the correct result:

smorebröd
smorebröd:test
smörebröd
smörebröd:test

But when I do a simple click on the column header in VStudio then I get

smorebröd
smörebröd
smorebröd:test
smörebröd:test

Bug or feature?

Valentina Studio 5.5.8. Collation: secondary, Mac OS 10.9.4.

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals



More information about the Valentina mailing list