FUNCTION

collection.sorted

pure function sorted(): list<T>

Sorts the elements of this collection into a list. This collection is not modified.

Returns

a sorted list containing the same elements as this collection

Since

0.8.0

© 2026 Chromia