Sort this using compare_func to compare the elements according to the semantics of
SearchFunc.
Use Array and sort.
The current implementation uses the same sorting algorithm as standard C qsort function.
| this |
ValueArray to sort |
| compare_func |
function to compare elements |
|
the ValueArray passed in as this |