Documentation Language: Swift

Method

sorted(by:)

Inherited from Sequence.sorted(by:).

func sorted(by areInIncreasingOrder: (Self.Element, Self.Element) throws -> Bool) rethrows -> [Self.Element]