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