From the input 'dog cat mouse', what is the output after rearranging by the length of the words?

A. CAT DOG MOUSE

If the input is 'dog cat mouse', what will be the output after sorting the words in reverse alphabetical order?

A. MOUSE DOG CAT