support comparator on filter