input: Write a function to sort the given list of words in alphabetical order and print the sorted list.
  
  def sort_words(words):
      # sort the list of words in alphabetical order
      words.sort()
  
      # print the sorted list of words
      print(words)
  
  assert sort_words(['bubble', 'selection', 'quicksort', 'insertion']) == ['bubble', 'insertion', 'quicksort', 'selection']
  assert sort_words(['apple', 'banana', 'cherry', 'date']) == ['apple', 'banana', 'cherry', 'date']
  assert sort_words(['zebra', 'elephant', 'ant', 'dog']) == ['ant', 'dog', 'elephant', 'zebra']
  assert sort_words([]) == []
  assert sort_words(['one']) == ['one']
output: def sort_words(words):
      words.sort()
      return words