input: Write a function to sort and print the elements of an array of integers. The function should take an array as input and print the sorted array. If the input array is empty, it should print an empty array.
  assert sort_and_print([17, 41, 5, 22, 54, 6, 29, 3, 13])==[3, 5, 6, 13, 17, 22, 29, 41, 54]
  assert sort_and_print([])==[]
output: def sort_and_print(arr):
      sorted_arr = sorted(arr)
      print(sorted_arr)