PHP 多维数组排序 根据二维数组中某个项排序(转)
比如有个多为数组:$arr = array( ‘d’ => array(‘id’ => 5, ‘name’ => 1, ‘age’ => 7), ‘b’ => array(‘id’ => 2,’name’ => 3,’age’ => 4), ‘a’ => array(‘id
比如有个多为数组:$arr = array( ‘d’ => array(‘id’ => 5, ‘name’ => 1, ‘age’ => 7), ‘b’ => array(‘id’ => 2,’name’ => 3,’age’ => 4), ‘a’ => array(‘id