ValueArray.sort

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.

More...

Parameters

compareFunc glib.types.CompareDataFunc

function to compare elements

Return Value

Type: gobject.value_array.ValueArray

the #GValueArray passed in as value_array

Detailed Description

Deprecated: Use #GArray and glib.array.Array.sortWithData.