sort

It sorts the array

Example

<?php
echo “<pre>”;
$lan = array(“PHP”,”JSP”,”ASP”);
sort($lan);
print_r($lan);
?>

Output

Array
(
[0] => ASP
[1] => JSP
[2] => PHP
)