From: Brian Candler Date: 2003-08-12T08:05:53+09:00 Subject: Re: Feature request: stable sort On Tue, Aug 12, 2003 at 06:06:19AM +0900, Hal E. Fulton wrote: > Going back to the stable sort issue: Is there any > reason you couldn't just map to an array that has > the original elements along with the indices, and > use the indices as a secondary key? I would think > that would work unless you were going for blazing > speed. It's what I did to work around my original problem, but it's a pain having to do that. An existing array of [key,value] needs to be changed to [key,original_sequence,value] (I was doing "sort these E-mail addresses by dated created, but any groups which had the same creation date should be kept in the same order") Cheers, Brian.