php function to sort array of strings

usort($active_mnfct_array, create_function('$a,$b','return strcasecmp($a,$b);'));