Silly Sort Question

Klaus Major klaus at major-k.de
Tue Oct 18 12:09:12 EDT 2005


Hi Gregory,

> Hello everyone,
>
>     I have a simply twelve-line list with the name of a month as  
> the first word on each line.  The list is not in order, and I'd  
> like to sort it January to December using the monthNames.  Don't  
> know how.
>         sort lines of theList by first word in each [need  
> connection to the monthNames here]

Almost there ;-)

...
sort lines of theList by word 1 of each
...

>     Otherwise, I suppose a simple repeat loop, although clunky,  
> would do.
>
>     Regards,
>
>         Greg

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list