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