sorted property

Coral<List<E>> get sorted

Returns a new list containing the elements of this collection sorted in ascending order.

Implementation

Coral<List<E>> get sorted => coral.map((source) {
      return List<E>.unmodifiable(source.toList()..sort());
    });