input: from typing import List
  
  
  def sort_words_by_length(my_string: str) -> str:
      """ Given a string, sort the words by their length in decreasing alphabetical order.
      >>> sort_words_by_length("This is the string which is to be sorted")
      'sorted string which This is the be to'
      """
output:     words = my_string.split()
      words.sort(key=lambda x: (-len(x), x))
      return ' '.join(words)