Write a python program to sort words in alphabetical order.
words = ["software", "engineering", "programming"]
def sort_words(words): 
    words.sort() 
    return words 

words = ["software", "engineering", "programming"]
print(sort_words(words))