Posted by Vik Rubenfeld on 09/27/07 02:09
Here's the array I'm trying to sort:
$Differences = Array[3]
Brass = (double) 601.88
Iron = (double) 376.18
Steel = (double) 526.65
Here's the code:
arsort($Differences, SORT_NUMERIC);
It seems as though arsort isn't sorting - the array is in the exact same
order, after arsort runs, as it was before. What am I missing?
Thanks very much in advance to all for any info.
[Back to original message]
|