input: Write a function to sort words in a given string by their length in decreasing alphabetical order. If two words have the same length, they should be ordered alphabetically. The function should return the sorted string as its output.
  assert sort_words_by_length_and_alpha("This is the string which is to be sorted") == "to This string sorted which is be the"
  assert sort_words_by_length_and_alpha("a an and the this those") == "this those the and an a"
  assert sort_words_by_length_and_alpha("") == ""
  assert sort_words_by_length_and_alpha("hello world") == "world hello"
  assert sort_words_by_length_and_alpha("quick brown fox jumps over the lazy dog") == "jumps quick brown over lazy dog the fox"
output: def sort_words_by_length_and_alpha(s):
      return ' '.join(sorted(s.split(), key=lambda x: (-len(x), x)))