Esempio n. 1
0
 /**
  * Performs a reverse natural sort on the array keys
  * Behaves the same as krsort() with natural sorting added.
  *
  * @param Array $array The array to sort
  * @return boolean
  */
 public static function natkrsort(&$array)
 {
     AJXP_Utils::natksort($array);
     $array = array_reverse($array, TRUE);
     return true;
 }