Question: How can you sort this array?

  1. `vals.sort { $0 < $1 }`
  2. `vals.sort { (s1, s2) in s1 < s2 }`
  3. `vals.sort(by: <)`
  4. all of these answers

Answer: The correct answer of the above question is Option D:all of these answers