On Wed Sep 24 17:24:16 2008, pmichaud wrote: > On Wed, Sep 24, 2008 at 04:53:54PM -0700, chromatic wrote: > > On Tuesday 23 September 2008 09:35:05 Moritz Lenz wrote: > > > > > %hash.pairs.sort needs infix:<cmp> to work properly with Pair as input. > > > > > > It should be easy to add a multi that does this by first comparing the > > > key, and if they are equal the value. > [...] > Alas, there was another thread that shows that Parrot's 'sort' > method can't seem to handle comparison functions that have :multi > on them. > > Once that's fixed (or we come up with an alternative 'sort'), > then this patch or something like it will probably work.
Now fixed in r33959, by providing an alternate interface to sort (one that also produces a stable sort). Closing ticket, thanks! Pm