Sorting strangeness
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Sep 16 12:16:25 EDT 2019
This does not answer the why, but as far as case specific, you can sort lines of <original text> by word 1 of each ascending text
Bob S
> On Sep 16, 2019, at 09:10 , Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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?
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list