input: Below is an instruction that describes a task. Write a response that appropriately completes the request.
  
  ### Instruction:
  Generate a Python script to sort the given list of words.
  
  ### Input:
  ['bubble', 'selection', 'quicksort', 'insertion']
  
  ### Output:
  
  # function to sort the given list of words
  def sort_words(words):
      # sort the list of words in alphabetical order
      words.sort()
  
      # print the sorted list of words
      print(words)
  
  # driver code
  words = ['bubble', 'selection', 'quicksort', 'insertion']
  sort_words(words)
  
  # output
  ['bubble', 'insertion', 'quicksort', 'selection']
  
output:     
      return words
  