sort


Description:

public void sort (CompareFunc<Value?> compare_func)

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

Note:

Use Array and sort.

The current implementation uses the same sorting algorithm as standard C qsort function.

Parameters:

this

ValueArray to sort

compare_func

function to compare elements

Returns:

the ValueArray passed in as this