input: Write a function to sort and print out the elements of an array of integers.
  
  assert sort_and_print([17, 41, 5, 22, 54, 6, 29, 3, 13])==[3, 5, 6, 13, 17, 22, 29, 41, 54]
output: def sort_and_print(arr):
      arr.sort()
      return arr