$Data = [ ['id' => 5, 'name' => '5555555555'], ['id' => 8, 'name' => '8888888888'], ['id' => 1, 'name' => '1111111111'], ]; $sort = array_column($Data, 'id'); array_multisort($sort, SORT_DESC, $Data); print_r($Data);
返回结果:
Array ( [0] => Array ( [id] => 8 [name] => 8888888888 ) [1] => Array ( [id] => 5 [name] => 5555555555 ) [2] => Array ( [id] => 1 [name] => 1111111111 ) )
ray ban 3025 silver timberland vibram shoes παπουτσια milagros harmont blaine andre johnson texans jersey andre johnson texans jersey andre johnson texans jersey polkupyörän rengas 26×1 95 roza kopalke tata scarpe houston texans andre johnson jersey texans andre johnson jersey bone lacoste xadrez Portugal staliniai elektroniniai laikrodžiai rockshox pike dj sale
发表回复