sort bug
Craig Newman
craig at starfirelighting.com
Thu Sep 7 11:46:38 EDT 2023
Bob,
If you remove the “numeric” the result is “2,3,4,6,a”.
To me this implies that ASCII values are used as the sortKey. But that begs the issue why, as in your post, with “numeric” included, the “a” appears first. What makes the “a” a lower "numeric" value than “2”?
Craig
> On Sep 7, 2023, at 11:19 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> put "4,2,a,3,6" into tList;sort items of tList numeric ascending;put tList
More information about the use-livecode
mailing list