input:                         from typing import List
  
  
  def sort_words_by_length_and_alphabetical(words: List[str]) -> List[str]:
      """Sort the given list of words by their length in decreasing order and in case of a tie, by their alphabetical order.
      >>> sort_words_by_length_and_alphabetical(['This', 'is', 'the', 'string', 'which', 'is', 'to', 'be', 'sorted'])
      ['string', 'which', 'sorted', 'This', 'be', 'the', 'is', 'is', 'to']
      """
output:     words.sort(key=lambda x: (-len(x), x))
      return words