why is it that php treats everything like a string when it comes to the basic functions?
any way.
it is sorting the numbers by the first place value and then sorting conflicts by the second ect.? wow.
try looking for another sort function or look for extra parameters for that one, i'm sure there are some.
edit:
use