input: Write a function to sort and print out the elements of an array of integers. The input is an array of integers, and the output is the sorted array printed out.
  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([5, 3, 8, 1, 2])==[1, 2, 3, 5, 8]
  assert sort_and_print([])==[]
  assert sort_and_print([7, -2, 3, -5, 1])==[-5, -2, 1, 3, 7]
  assert sort_and_print([100, 99, 98, 97, 96])==[96, 97, 98, 99, 100]
output: def sort_and_print(arr):
      sorted_arr = sorted(arr)
      return sorted_arr