Create a program in Python which takes a string and prints out all the words present in the string in alphabetical order.
string = "This is a test string"
def sortString(string):
    words = string.split(" ")
    words.sort()
    return words
    
print(sortString(string))