feat(filterFilter): array filter comparator receives an index

If a comparator function is passed to a filter of an array, it receives the index as an argument.

Closes #654