setSortFunc

open fun setSortFunc(sortColumnId: Int, sortFunc: TreeIterCompareFunc)

Sets the comparison function used when sorting to be @sort_func. If the current sort column id of @sortable is the same as @sort_column_id, then the model will sort using this function.

Parameters

sortColumnId

the sort column id to set the function for

sortFunc

The comparison function