asort(); echo "Standard sorting\n"; print_r($arr1); $arr2->natcasesort(); echo "\nNatural order sorting (case-insensitive)\n"; print_r($arr2);