rsort sorting order

ScaskFase

New Member
I have an array which contains the following numbers:\[code\]10000900670600500\[/code\]I want to sort the array in that format above. Largest to smallest, thus using rsort().However the outcome turns out to be:\[code\]90067060050010000\[/code\]Looks like rsort() just looks at the first digit of the whole number to sort the array. Is there any fix to this?Thanks,Kevin
 
Back
Top