set_sort_order

@accepts(GLib.CompareDataFunc, gpointer, GLib.DestroyNotify, gboolean)
@returns(none)
def set_sort_order(sort_func, sort_data, sort_data_destroy, sort_reverse)

Sets a new sort order on the model. This reorders the entries in the model to match the new sort order.

sort_func :

new sort function

sort_data :

data to pass to the new sort function

sort_data_destroy :

function to call to free the sort data

sort_reverse :

if True, reverse the sort order