TreeSortable.setSortFunc

void setSortFunc(int sortColumnId, gtk.types.TreeIterCompareFunc sortFunc)

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

sortColumnIdthe sort column id to set the function for
sortFuncThe comparison function