I have an Array and want to sort its contents (numeric or lexicographically) in descending order.
// Initialize the Array var a = [6,3,2,1,5,4] // Sort (descending) its elements a = a.sort { $0 > $1 } print(a)
* Please let us know about anything: issues/feature request/suggestions......And we'll do our best to get back to you asap! :)
Or just post your issue on iSwift's Official Issue Tracker