ascending property

Queue<E> get ascending

Returns a sorted iterable.

4, 1, 3.ascending returns 1, 3, 4.

Uses .toString() as a fallback if Dart's .sort() method doesn't work.

Implementation

Queue<E> get ascending => h.ascendingIterable(this).toQueue();