Example #1
0
 /**
  * Sort the array using the given callback.
  *
  * @param array    $array
  * @param callable $callback
  *
  * @return array
  *
  * @author Krisan Alfa Timur <*****@*****.**>
  */
 function array_sort($array, callable $callback)
 {
     return Arr::sort($array, $callback);
 }