Given the input 'cat dog apple', which of the following is the correct output after rearrangement?

A. APPLE CAT DOG

Given the input '5 3 8 1', if the output after sorting in ascending order is required, what is it?

A. 1 3 5 8

Input: '5 3 8 1'. Step 1: Rearrange to '1 3 5 8'. Step 2: Rearrange to '8 5 3 1'. What is the output after Step 2?

C. 8 5 3 1

Input: 'red blue green yellow'. Step 1: Rearrange to 'yellow green blue red'. Step 2: Rearrange to 'blue yellow red green'. What is the output after Step 2?

C. BLUE YELLOW RED GREEN

Given the input: 'dog cat mouse bird', what is the output after rearranging the words in reverse alphabetical order?

D. MOUSE BIRD DOG CAT