Sorting strangeness
Paul Dupuis
paul at researchware.com
Mon Sep 16 12:10:58 EDT 2019
Okay, here is a Monday morning puzzler for folks:
Take the following text:
Chinese
Georgian
Arabic
Greek
Russian
Norwegian Norsk
"sort lines of <original text> ascending international" produces exactly
what is expected:
Arabic
Chinese
Georgian
Greek
Norwegian Norsk
Russian
However, "sort lines of <original text> ascending text" produces:
Arabic
Chinese
Georgian
Greek
Russian
Norwegian Norsk
Now, WHY should Russian appear BEFORE Norwegian with R before N in
treating it as a straight ASCII sort ("text")???
Try it yourself in LC9.0.5rc1. Is this a BUG? or should unpredictable
results be expected if using a default (as "text" is the default) sort
of text in LC9.0.5?
More information about the use-livecode
mailing list