Compare the items numerically and sort string array in descending order in PHP
Description
The following code shows how to compare the items numerically and sort string array in descending order.
Example
//from w ww.ja va 2s .co m
<?php
$myValue=array("XML","CSS","HTML");
rsort($myValue,SORT_NUMERIC);
?>