new_sort


Description:

public static Filter new_sort (owned CompareRowFunc cmp_row)

Create a new Filter sorting a model according to a CompareRowFunc.

Parameters:

cmp_row

A CompareRowFunc to use for sorting

cmp_destroy

The DestroyNotify to call on cmp_user_data when disposing of the filter

cmp_user_data

User data passed to cmp_row

out_filter

A pointer to an uninitialized Filter struct. This struct will zeroed and configured with the filter parameters