input: Write a function to sort the given list of words in alphabetical order. If the list is empty, 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([]) == []
  assert sort_words(['zebra', 'apple', 'banana']) == ['apple', 'banana', 'zebra']
  assert sort_words(['cat', 'bat', 'dog', 'ant']) == ['ant', 'bat', 'cat', 'dog']
output: def sort_words(words):
      if not words:
          return []
      words.sort()
      return words