CustomSortCallback typedef
Custom sort callback for message sorting.
Takes two Message objects and returns an integer indicating their relative order.
The return value should be:
- Less than 0 if
ashould come beforeb - 0 if
aandbare equal
Implementation
typedef CustomSortCallback = int Function(Message a, Message b);