input: Write a python function to sort an array in both ascending and descending order.
  assert sort_array([3, 5, 8, 9, 0, 4, 1]) == ([0, 1, 3, 4, 5, 8, 9], [9, 8, 5, 4, 3, 1, 0])
  assert sort_array([10, 2, 33, 45, 5]) == ([2, 5, 10, 33, 45], [45, 33, 10, 5, 2])
  assert sort_array([7, 7, 7, 7, 7]) == ([7, 7, 7, 7, 7], [7, 7, 7, 7, 7])
output: def sort_array(arr):
      ascending = sorted(arr)
      descending = sorted(arr, reverse=True)
      return (ascending, descending)