Sequence.sort

Sorts seq using cmp_func. Since 2.14

class Sequence
void
sort

Parameters

cmpFunc GCompareDataFunc

the GCompareDataFunc used to sort seq. This function is passed two items of seq and should return 0 if they are equal, a negative value if the first comes before the second, and a positive value if the second comes before the first.

cmpData void*

user data passed to cmp_func

Meta