Collator for Sorting in Grid

AFAIK the Grid is using Comparable to sort. Is there a way to configure the Grid to use a Collator for sorting?

There’s no automatic support for collators but it can easily be configured on column-by-column basis. Collator implements Comparator<Object> so you can do someColumn.setComparator(someCollator). And then you can wrap that in grid.getColumns().forEach(...) to apply that to all (current) columns for a grid.

Thanks for your response. I’ll open a feature request because I think this is a very common use case to have sorting by the current locale