input: Write a function to sort the given list of words. The function should return the sorted list in alphabetical order.
  def sort_words(words):
      # sort the list of words in alphabetical order
      words.sort()
  
      # return the sorted list of words
      return words
  
  assert sort_words(['bubble', 'selection', 'quicksort', 'insertion'])==['bubble', 'insertion', 'quicksort', 'selection']
  assert sort_words(['apple', 'banana', 'cherry'])==['apple', 'banana', 'cherry']
  assert sort_words([])==[]
output: def sort_words(words):
      words.sort()
      return words