Renamed compareTo to defaultCompareFn