$qsort_compare_func
Name of function to use for comparing two items. See the Comparison Functions section for more information and built-in options.
qsort()
Sorts items ($@) into the named array ($1) using the original qsort algorithm.
$1 - Array to receive sorted items
$@ - Items to sort
qsort_list()
Sorts the named list ($1) in place using qsort().
The functions in this section are meant to be used as $qsort_compare_func. They each take two arguments:
$1 - First item to compare
$2 - Second item to compare
Returns: Success if the two items are in the correct order.
compare_str_asc()
Sorts strings in ascending order
compare_str_asc()
Sorts strings in descending order
compare_int_asc()
Sorts integers in ascending order
compare_int_dsc()
Sorts integers in descending order
compare_int_asc()
Sorts files by modification time in chronological order.
compare_int_dsc()
Sorts files by modification timein reverse chronological order .