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

Answer: A. 1 3 5 8
Sorting the numbers in ascending order gives '1 3 5 8'.