Create a Python program that takes in a list of strings, sorts them, and then prints each string in sorted order.
["banana", "apple", "orange", "pear"]
def sortStrings(arr):
    arr.sort()
    
    for string in arr:
        print(string)

#Test
arr = ["banana", "apple", "orange", "pear"]
sortStrings(arr) # Outputs: apple banana orange pear