ValueArray.sort

Warning g_value_array_sort has been deprecated since version 2.32 and should not be used in newly-written code. Use GArray and g_array_sort(). Sort value_array using compare_func to compare the elements according to the semantics of GCompareFunc. The current implementation uses the same sorting algorithm as standard C qsort() function.

class ValueArray
sort

Parameters

compareFunc GCompareFunc

function to compare elements. [scope call]

Return Value

the GValueArray passed in as value_array. [transfer none]

Meta