sorted(using:)

Inherited from Sequence.sorted(using:).

Declaration

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