in reply to Re: Re: Re: Sorting issues
in thread Sorting issues

Yes, that sort will work. In the original example, the second sort simply undid the results of your first sort.

In your new sort, the part after '||' will only happen if $a->{z} == $b->{z}, so it works like you want it to.

Replies are listed 'Best First'.
Thanks!
by Skylark (Beadle) on Jan 10, 2004 at 03:14 UTC
    Ah, thanks jmanning2k. Still learning even as I try to answer questions!