input: def sort_words_by_length_and_alphabetical_order(my_string: str) -> str:
      """ Sorts words in a given string by their length in decreasing order and then by their alphabetical order.
      >>> sort_words_by_length_and_alphabetical_order("This is the string which is to be sorted")
      'string sorted the to which This is be'
      """
output:     words = my_string.split()
      words.sort(key=lambda x: (-len(x), x))
      return ' '.join(words)