sort_with_data


Description:

public void sort_with_data (CompareDataFunc<Value?> compare_func)

Sort this using compare_func to compare the elements according to the semantics of CompareDataFunc.

Note:

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 compare_func

Returns:

the ValueArray passed in as this