S2GroupSort.byCountInDesc constructor

S2GroupSort.byCountInDesc()

Function to sort the group keys by items count in descending order

Implementation

factory S2GroupSort.byCountInDesc() => S2GroupSort((S2Group a, S2Group b) {
      return b.count.compareTo(a.count);
    });