sort by two paremeters?
Nicolas Cueto
niconiko at gmail.com
Mon Apr 14 00:49:24 EDT 2008
Before I go ahead and script something complex,
I'm wondering if Rev already has a built-in way of
doing the following sort.
Given a list of 2-item lines, such as
a 1
d 3
c 3
c 2
a 3
d 2
a 2
c 1
d 1
I'd like the list to be sorted by item 1,
and, in the case of lines with the
same item 1, sorted by item 2, thus:
a 1
a 2
a 3
c 1
c 2
c 3
d 1
d 2
d 3
Any suggestions?
Thanks.
--
Nicolas Cueto
More information about the use-livecode
mailing list