Create a Python program for sorting a list of words into alphabetical order.
["dog", "cat", "apple", "banana"]
def sort_words(words):
  return sorted(words)

words = ["dog", "cat", "apple", "banana"]

sorted_words = sort_words(words)

print(sorted_words)