Stable sorting on steroids

DunbarX at DunbarX at
Wed Mar 18 17:40:17 CDT 2009

One of the undocumented features in HC was this version of the sort command:

Sort whatEver/howEver by sortKey1 && sortKey2 && sortKey3....

So you can "sort lines of container by word 1 of each && word 3 of each".

No limit. The sort order is from left to right.

The docs, as in HC, imply you should run through multiple sorts, and boast 
they will remain stable.

Good to see this lives on in Rev. (still undocumented).

Craig Newman

Great Deals on Dell 15" Laptops - Starting at $479 

More information about the use-livecode mailing list