add comparator to servlet collection