<?php $a = [1, 2, 3, 4]; usort($a, function (int $i, int $y) { return $y <=> $i; }); var_dump($a);
You have javascript disabled. You will not be able to edit any code.