- updated base comparator function to be case sensitive