sort

fun sort(compareFunc: <Error class: unknown class>): ValueArray

Sort @value_array using @compare_func to compare the elements according to the semantics of #GCompareDataFunc.

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

Return

the #GValueArray passed in as @value_array

Parameters

compareFunc

function to compare elements