how to sort this kind of array? this will be sort by array[x][1]
. can this be sorted using usort?
Array
(
[0] => Array
(
[0] => 1247
[1] => 3
[2] => no
[3] => no
)
[1] => Array
(
[0] => 224
[1] => 1
[2] => no
[3] => no
)
[2] => Array
(
[0] => 226
[1] => 2
[2] => no
[3] => no
)
)