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

Answer: A. 1 3 5 8
The numbers are sorted in ascending order: 1, 3, 5, 8.