Stable sorting on steroids

DunbarX at aol.com DunbarX at aol.com
Wed Mar 18 18:40:17 EDT 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 
(http://pr.atwola.com/promoclk/100126575x1220433363x1201394532/aol?redir=http:%
2F%2Fad.doubleclick.net%2Fclk%3B212935224%3B34245239%3Bb)



More information about the use-livecode mailing list