ListSG.sortWithData

Like g_slist_sort(), but the sort function accepts a user data argument.

class ListSG
sortWithData

Parameters

compareFunc GCompareDataFunc

comparison function

userData void*

data to pass to comparison function

Return Value

Type: ListSG

new head of the list