Page 1 of 1

Sorting a container

Posted: Fri May 01, 2009 1:21 pm
by warrenk
Is it possible to sort by more then one item?

ie. sort lines of tPoList by item 2, item 4 of each

I need to sort with multiple items and cannot find any examples of how this is done.

Thanks!
Warren

Posted: Fri May 01, 2009 3:02 pm
by bn
Warren,

from the user part of the documentation of Rev 3.5

Multiple stable sorts can be effected in a single line by appending successive sortkeys:
sort container by sortkey1 && sortkey2 && sortkey3...
The sorting follows the sortKeys order.

regards
Bernd

Posted: Fri May 01, 2009 3:14 pm
by warrenk
Bernd,

Good news! Thanks for your help!!!

Warren