I have this multi value array which I want to sort
Array(
[0] => word1 131
[1] => word2 3
[2] => word3 5
[3] => word4 4
[4] => word5 16
[5] => word6 29
)
How do I sort it using the number value on the right so the result will be like this.
Array(
[0] => word2 3
[1] => word4 4
[2] => word3 5
[3] => word5 16
[4] => word6 29
[5] => word1 131
)
Thx