This question has already been answered:
- Sorting an array by a given date 1 answer
Hello. There is an array:
array(3)=> array(2)=> 'count'=10; 'value'="some string"; array(2)=> 'count'=100; 'value'="another string"; array(2)=> 'count'=2; 'value'="last string";
I want to sort by the 'count' key to get the following array on output:
array(3)=> array(2)=> 'count'=100; 'value'="another string"; array(2)=> 'count'=10; 'value'="some string"; array(2)=> 'count'=2; 'value'="last string";
How is this possible to do?