input: Write a function to sort the given list of words in alphabetical order. The function should return the sorted list. If the input list is empty, the function should return an empty list.
  def sort_words(words):
      if not words:
          return []
      words.sort()
      return words
  
  assert sort_words(['bubble', 'selection', 'quicksort', 'insertion'])==['bubble', 'insertion', 'quicksort', 'selection']
  assert sort_words([])==[]
output: def sort_words(words):
      if not words:
          return []
      words.sort()
      return words