rsort (PHP 4, PHP 5, PHP 7)rsort — Sort an array in reverse order Description ¶ bool rsort ( array &$array [, int $sort_flags = SORT_REGULAR ] )This function sorts an array in reverse order (highest to lowest). Note:If two members compare as equal, their relative order in the sorted array is undefined.Parameters ¶ arrayThe input array. sort_flagsYou may modify the behavior of the sort using the ..