Fixed ComparTo Method