groupComparator property

int Function(E value1, E value2)? groupComparator
final

Can be used to define a custom sorting for the groups.

If not set groups will be sorted with their natural sorting order or their specific Comparable implementation.

Implementation

final int Function(E value1, E value2)? groupComparator;