标签: php
所以我的阵列看起来像这样
Array ( [1] => 150 [2] => 190 [3] => 170 [6] => 160 [7] => 180 )
并希望收到它排序但保持键相同。像这样的Smth:
Array ( [1] => 150 [2] => 160 [3] => 170 [6] => 180 [7] => 190 )
我尝试了很多用于数组排序的php函数,但是无法获得正确的结果。帮助请