rsort() function sorts the elements in reverse order.
Its syntax is: void rsort (array array) <? $cities = array ("A", "N", "R", "V", "A"); rsort($cities); print_r($cities); ?>