How can you sort this array?
var vals = [1, 2, 3]
vals.sort { $0 < $1 }
vals.sort { (s1, s2) in s1 < s2 }
vals.sort(by: <)
All of these answers Reference: Apple Developer: Documentation: Swift: Array: sort()