bind comparator to filtered collection object

Bind comparator to the filtered collection, otherwise the comparator receives this == Window