well basically i have an array that could look like this:
$item[1][0] = 75
$item[1][1] = 1
$item[2][0] = 10
$item[2][1] = 2
$item[3][0] = 90
$item[3][1] = 3
$item[3][0] = 55
$item[3][1] = 4
and i want something that would sort it into something like this:
$item[1][0] = 90
$item[1][1] = 3
$item[2][0] = 75
$item[2][1] = 1
$item[3][0] = 55
$item[3][1] = 4
$item[4][0] = 10
$item[4][1] = 2
It doesnt have to work like that, basically ive never sorted before, and thats the only way i can see how it would work, but there are problery hundreds of methods of doing this.