Collection Method asSortedCollection

Return an instance of SortedCollection with the same elements as this collection. The sort order is determined by the default sort method.

Returning Parameter
anewcollection OBJECT