isSortedBy<K extends Comparable> method
Returns true if this collection is sorted by the natural order of keyOf reactively.
Implementation
Coral<bool> isSortedBy<K extends Comparable<dynamic>>(
K Function(E element) keyOf) =>
coral.map((source) =>
source.isSortedByCompare<K>(keyOf, (a, b) => a.compareTo(b)));