input: Write a function to sort an array in descending order.
  assert sort_array(["apple", "banana", "cherry"]) == ["cherry", "banana", "apple"]
  assert sort_array(["x", "b", "a", "d"]) == ["x", "d", "b", "a"]
  assert sort_array(["3", "1", "2"]) == ["3", "2", "1"]
output: def sort_array(arr):
      return sorted(arr, reverse=True)