我有这个数组$arr1
Array
(
[0] => [col1]
[1] => [col2]
[2] => [col3]
)
我有另一个$arr2
数组
Array
(
[0] => Array
(
[col3] => data1
[col2] => data2
[col1] => data3
)
[1] => Array
(
[col2] => data1
[col3] => data2
[col1] => data3
)
)
我需要按原样对这些键$arr2
进行col1, col2
排序。col3
$arr1
我尝试array_multisort($arr1,$arr2)
了另一种方式。没有任何效果。有什么帮助吗?