GH-2 Added comparer function for formulas