sorted method
Returns a list of all elements sorted according to their natural sort order.
Implementation
@useResult
KtList<T> sorted() => sortedWith(naturalOrder());
Returns a list of all elements sorted according to their natural sort order.
@useResult
KtList<T> sorted() => sortedWith(naturalOrder());