sort container

yves COPPE yvescoppe at skynet.be
Sat Jan 19 16:02:01 EST 2002


Hello,


in the doc, I read :
The sort container command is a stable sort. This means that if the 
sortKey for two items or lines is the same, sorting does not change 
their order, so you can do two successive sorts to create 
subcategories within the major sort categories.


I can't apply it to the following problem :

Let's suppose a tabstop fld

the first column contains dates
the second text

I'd like to sort the fld so that
it's sorted by date (first column)
and afterwards sorted by text (alphabetically)

in this case the sortkey changes first it's item 1 of fld "xxx" and 
then it's item 2 of fld "xxx"

How ?

thanks.
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the use-livecode mailing list