input: Write a function to sort and print the elements of a given array of integers. If the array is empty, print an empty list.
  assert sort_and_print_array([17, 41, 5, 22, 54, 6, 29, 3, 13])==None
  # Output: [3, 5, 6, 13, 17, 22, 29, 41, 54]
  
  assert sort_and_print_array([])==None
  # Output: []
output: def sort_and_print_array(arr):
      sorted_arr = sorted(arr)
      print(sorted_arr)