How can I arsort the following array in PHP (by value)?
$array = array
(
"pie" => array
(
"value" => "183"
),
"apple" => array
(
"value" => "032"
)
);
How could I sort this array so when I would loop through it and output the code that it would show PIE on the tap and APPLE below? I know how to do it when it's just an array, but I find it difficult to do it whenever I put an array within an array.