QuerySortOrder case insensitive

Hi Vaadin,

Is there any possibility to have QuerySortOrder to sort case insensitive ?

@Override
    protected List<QuerySortOrder> getDefaultSortOrders() {
        List<QuerySortOrder> sortOrders = new ArrayList<>();
        sortOrders.add( new QuerySortOrder( "lastName", SortDirection.ASCENDING));
        return sortOrders;
    }

Currently a list is ordered like this :

AAABBBCCCaaabbcc

and I prefer

aaaAAAbbBBBccCC

Rgds,
Jorn

Hi Jorn,

You can implement your own comparator. See https://vaadin.com/docs/v14/flow/binding-data/tutorial-flow-data-provider.html