Sort problem

Yves Coppé yvescoppe at skynet.be
Tue Sep 10 09:36:01 EDT 2002


Hi,



I have a variable (my_var) I want to sort

my script is :


set the useSystemDate to true
set itemdel to tab
sort lines of my_var descending dateTime by item 1 of each



but sorted myVar is something like this :

(Continental date format !)

04/09/2002&tab&xxx&tab&yyy&tab&zzz
03/09/2002&tab&xxx&tab&yyy&tab&zzz
            tab&xxx&tab&yyy&tab&zzz
02/09/2002&tab&xxx&tab&yyy&tab&zzz
            tab&xxx&tab&yyy&tab&zzz
            tab&xxx&tab&yyy&tab&zzz
01/09/2002&tab&xxx&tab&yyy&tab&zzz


I'd like to sort my_var but the number of lines for each date record 
is variable !!

How can I proceed ??

Thank you.
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the use-livecode mailing list