sweetblood has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to specify a stable sort? That is a sort where the non-keyed fields remain in natural order after the sort(fifo). I am of course presuming that Perl’s default behavior would be a more efficient unstable sort. If my assumption is incorrect then is there a way to specify an unstable sort to increase sorting performance?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Stable sorting in Perl
by liz (Monsignor) on Aug 27, 2003 at 18:59 UTC | |
by tye (Sage) on Aug 27, 2003 at 19:24 UTC | |
by wirrwarr (Monk) on Aug 28, 2003 at 07:13 UTC | |
by sweetblood (Prior) on Aug 27, 2003 at 19:43 UTC | |
by demerphq (Chancellor) on Aug 27, 2003 at 23:14 UTC | |
by sweetblood (Prior) on Aug 27, 2003 at 19:41 UTC | |
by liz (Monsignor) on Aug 27, 2003 at 19:50 UTC | |
by sweetblood (Prior) on Aug 28, 2003 at 16:45 UTC |
Back to
Seekers of Perl Wisdom