数组某字段排序

$sort = array_column($list, 'sort');
array_multisort($sort, SORT_DESC, $list);
posted @ 2022-09-01 16:12  酒过三巡  阅读(24)  评论(0)    收藏  举报