only MIPS.Write a program that asks the user to enter an array of 10 integers and then calls a function to sort the array. After the function call, the main function should output the sorted integers in the array. The function uses the bubble sort algorithm to sort an array of ā€œNā€ words into ascending order. The address of the array and the value N will be passed to the function on the stack.