sorted

trait Collection[A] {
  def sorted: Collection[A]
}

sorted creates a collection with the elements sorted.