例如,您有一个数组:
$unsorted = array(
'desert' => array(
'time' => '1339902235',
'name' => 'desert.jpg'
),
'sea' => array(
'time' => '1339900801',
'name' => 'sea.jpg'
),
'mountain' => array(
'time' => '1339902285',
'name' => 'mountain.jpg'
),
);
是否可以按 的值对数组进行排序$unsorted[$a]['time']
?