Returns the compare function currently in use.
Use [class@Gtk.ListView] or [class@Gtk.ColumnView] instead
A `GtkTreeView`
the currently used compare function for the search code.