Here's on last stab at using Rev's built-in sort:

sort lines of fld 1 numeric by (lineOffset(word 1 of each, fld 1)*100000 + (word 2 of each))

Woo hoo! Everyone loves cryptic one-liners! =P

- Brian

On 4/1/05 3:38 PM, "Howard Bornstein" <[EMAIL PROTECTED]> wrote:

I would have used the same code as yours, however, it doesn't preserve
the original alphabetic order (which I assumed he wanted--if not then
your code is perfect).

My code (and Frank's) ends up with the list sorted like this:

IPAE 1
IPAE 7
IPAE 16
LAG 1
JKAL 2
JKAL 3
JKAL 11

Yours puts LAG 1 at the end, since it sorts the entire list
aphabetically. So if he wants to keep the original alpha order intact
and just sort within the alpha groups, you need to add a little more
control to the sorts. Otherwise the simple solution is fine.

Ah... that explains it...thanks for letting me know!

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]



_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to