added class Comparator (for method: 'all')