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