📅  最后修改于: 2022-03-11 14:54:28.105000             🧑  作者: Mango
// Use "uasort" instead of "usort"
function order_asc($a, $b) {
return $b["popularity"] - $a["popularity"];
}
uasort(array, "order_asc");