input: def sort_words_by_length_and_alphabet(my_string: str) -> str:
      """Sort words in a given string by their length in decreasing numerical order.
      If two words have the same length, sort them alphabetically.
      >>> sort_words_by_length_and_alphabet("This is the string which is to be sorted")
      "which sorted is This string the be to"
      """
output:     words = my_string.split()
      sorted_words = sorted(words, key=lambda x: (-len(x), x))
      return ' '.join(sorted_words)