Returns the compare function currently in use.
an IconView.
the currently used compare function for the search code.