ValueArray.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.

More...
class ValueArray
sort
(
GCompareFunc compareFunc
)

Parameters

compareFunc GCompareFunc

function to compare elements

Return Value

the #GValueArray passed in as @value_array

Detailed Description

Deprecated: Use #GArray and g_array_sort().

Meta