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

Answer: A. 1 2 3 4
Sorting the numbers in ascending order gives 1, 2, 3, 4.