Its syntax is: void sort (array array) Nonnumerical elements will be sorted in alphabetical order, according to their ASCII values. <? $cities = array ("A", "N", "R", "V", "A"); sort($cities); print_r($cities); ?>