@Override
    public MongoPaginationHelper<T> collation(Collation collation) {
        return new DefaultMongoPaginationHelper<>(collection, filter, sort, perPage, includeGrandTotal,
                grandTotalFilter, collation);
    }
@Test
    void testCollation() {
        final Collation upperFirstCollation = Collation.builder().locale("en").collationCaseFirst(CollationCaseFirst.UPPER).build();
        final Comparator<String> upperFirstComparator = (a, b) -> a.toLowerCase(ENGLISH).equals(b.toLowerCase(ENGLISH)) ?
                a.compareTo(b) :
                a.toLowerCase(ENGLISH).compareTo(b.toLowerCase(ENGLISH));

        assertThat(paginationHelper.collation(upperFirstCollation).sort(ascending("name")).page(1))
                .containsExactlyElementsOf(DTOs.stream().sorted(Comparator.comparing(DTO::name, upperFirstComparator)).toList());
    }