Rename comparator to compare