On Tue, May 6, 2008 at 7:26 AM, Fred Schmidt <[EMAIL PROTECTED]> wrote:

>  >PIPE rexxvars TOLOAD | pick 2.6 == /TABLE./ | sort | ...
>
>  This, and the other proposed solutions to dumping stem variables' contents,
> do not sort the values correctly if there are more than 9 values. Eg:...

What you do is you add an extra field to the record to sort them on,
and then drop that extra field again. Like this:
spec ws = fs . substr f2 of w1 1.10 r 1-* n | sort 1.10 | substr 11-*

-- 
Rob van der Heij
Velocity Software GmbH
http://velocitysoftware.com/

Reply via email to