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? Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php