sort property

Comparator<DataSnapshot>? sort
final

Optional function used to compare snapshots when sorting the list

The default is to sort the snapshots by key.

Implementation

final Comparator<DataSnapshot>? sort;