Program: Write an assembly program in MIPS that get the array size from the keyboard, then reads a list of integers from the keyboard and writes the sorted list in ascending order to the console screen.
Solve this question in details and provide examples to support your rationale.