input: from typing import List
  
  def sort_array(arr: List[int]) -> List[int]:
      """ Sorts an array of integers and prints the sorted array.
      >>> sort_array([17, 41, 5, 22, 54, 6, 29, 3, 13])
      [3, 5, 6, 13, 17, 22, 29, 41, 54]
      """
      arr.sort()
      return arr
output:     arr.sort()
      return arr