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