Allow for comparator to return integer from comparator function