quick question
Date: 03/29/05
(PHP Community) Keywords: no keywords
So I've got an array. It looks something like this:
$i[1]=265
$i[2]=145
$i[3]=273
$i[4]=164
$i[5]=179
Is there a quick and dirty way to list (or reorder) the contents of the array in numeric order? I was in the process of writing a little routine to assign the values in order to a new array, but the heat is still on in this office, and I'm starting to sweat and lose my ability to focus, so I'm turning to LJ.
Source: http://www.livejournal.com/community/php/278456.html