If the input is '3 1 4 2', what will be the output after sorting the numbers in ascending order?

Answer: A. 1 2 3 4
Sorting the numbers in ascending order results in '1 2 3 4'.