(PHP 4, PHP 5, PHP 7)
Sort an array in reverse order
bool rsort ( array &$array [, int $sort_flags = SORT_REGULAR ] )
This function sorts an array in reverse order (highest to lowest).
Parameters:
array
The input array.
sort_flags
You may modify the behavior of the sort using the optional parameter sort_flags, for details see sort(