Sort this using compare_func
to compare the elements according to the semantics of
CompareDataFunc.
Use Array and sort_with_data.
The current implementation uses the same sorting algorithm as standard C qsort
function.
this |
ValueArray to sort |
compare_func |
function to compare elements |
user_data |
extra data argument provided for |
the ValueArray passed in as this |