I have this array :
$myarray
(
    [5] => Array
        (
            [count] => 2
            [aaa] => 119
        )
    [2] => Array
        (
            [count] => 5
            [aaa] => 90
        )
    [3] => Array
        (
            [count] => 7
            [aaa] => 91
        )
    [4] => Array
        (
            [count] => 12
            [aaa] => 119
        )
    [1] => Array
        (
            [count] => 8
            [aaa] => 119
        )
)
I want sort this array by the "count" value for get the three id (the key) that have the biggest counter.
With my exemple :
print_r(customfunction($myarray))
// display : array(4,1,3)
Because [4] have count = 12, [4] have count = 8, and [4] have count = 7. How can I sort my array ? and get the three id that have the biggest counster ?
Thank you =)
