Sorting Latin (accent) characters. (Vaadin 8)

When I try to sort a grid by clicking on the column title the accented characters are not properly sorted, it’s the same with the method grid.setSortOrder.
Is there something to configure for that ?

Are you using a dataprovider srting or in-memory sorting? If in-memory, the its getColumn().setComparator and follow advice from

I’m actually using a dataProvider and found the solution thanks to you !!
I had to implement SerializableComparator to my Comparator class and setComparator to the addColumn line.