Sort question

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Oct 3 11:08:17 EDT 2010


Hi,

&& won't always workshop corrector. Probably you neef to use 'and' and sort numeric.

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com


Op 3 okt. 2010 om 16:39 heeft Mike Bonner <bonnmike at gmail.com> het volgende geschreven:

> Changing the first suggestion
> 
> set the itemDel to slash
> sort lines of myList by item 2 of (word 2 of each) and item 1 of (word 2 of
> each)
> 
> to
> 
> set the itemDel to slash
> sort lines of myList by item 2 of (word 2 of each) *&&* item 1 of (word 2 of
> each)
> 
> works for this also as long as the data is always 2 digit format. Barring
> that, just doing 2 consecutive numeric sorts on the appropriate key will
> work.
> Can you use the && version and specify sort type individually for each
> part?
> IE: sort blah blah by item 1 && item 2, 1 numeric, the other alphabetic?




More information about the Use-livecode mailing list