Documentation Language: Swift

Method

sorted(using:)

Inherited from Sequence.sorted(using:).

func sorted<Comparator>(using comparator: Comparator) -> [Self.Element] where Comparator : SortComparator, Self.Element == Comparator.Compared