GTK2.TreeModelFilter set_visible_func(function f, mixed user_data)
Sets the comparison function used when sorting to be f. If the current sort column id of this sortable is the same as column, then the model will sort using this function.