On 12/05/2012 11:24 AM, Avishai wrote:
Non Case Sensitive gives a result like "A a a A A a A". This is a
form of randomness.
If course: if the sort order considers things to be equal while the
display considers them to be not equal, the sorted result looks random.
This is by design. And with Unicode this and/or the vice versa case
(characters that look identical but are coded in multiple ways) is
unavoidable.
But besides "not case sensitive" ("A" and "a" are sorted as equal) you
can define sort orders like
....ABCDE....abcde....
or
....AaBbCcDdEe....
or
....aAbBcCdDeD...
or (regarding German)
....AB.....Ä....
or
....AÄB....
which all make sense in appropriate applications.
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus