feat(filterFilter): array filter comparator receives an index

If a comparator function is passed to a filter, it receives an index in
addition to the value as arguments.