On Mar 15, 2011 4:10 AM, "Paul M Foster" <paulf@xxxxxxxxxxxxxxxxx> wrote: > > On Mon, Mar 14, 2011 at 10:14:53PM +0100, Peter Lind wrote: > > > On 14 March 2011 22:10, Paul M Foster <paulf@xxxxxxxxxxxxxxxxx> wrote: > > [snip] > > > >> Remove the elements, then use sort(). > > > > > > I've given a simplified example. The actual target array is > > > multi-dimensional. Sort() won't work in a case like that, as far as I > > > know. Moreover, I don't want the array sorted based on the element > > > values. > > > > Ahh, I see - you wanted me to guess at the actual circumstances of the > > case instead of provide an answer to the example you posted. My bad. > > Is the sarcasm really necessary? > Without it, would you learn to post the actual details instead of something irrelevant? If yes, then my apologies. Regards