Sort so that "Hello" is always before "hello"

Dr. Hawkins dochawk at gmail.com
Thu May 18 17:55:24 EDT 2017


On Thu, May 18, 2017 at 2:43 PM, hh via use-livecode <
use-livecode at lists.runrev.com> wrote:

> on mouseUp
>   set the casesensitive to true -- secondary sort:
>   sort myContainer
>   set the casesensitive to false -- primary sort:
>   sort myContainer
> on mouseUp
>

Now *that* is clever.

At first I read you as having a slew of containers, which led to the
possibility of something like

sort lines of theData by word 1 of each & (lower(char 1 of each) <>
upper(char 1 of each))


But I don't think I can use multiple each's like that, can I?


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list