Sort the given list by ordering the numbers in the list. You are free to select any pair of numbers you want to order.
The Order Machine is similar to the Swap Machine.
The main difference between the Swap Machine and the Order Machine is that in the Swap Machine, you can swap any two selected numbers, whereas in the Order Machine, you can only swap the numbers if they are out of order.
Follow the given steps to perform the experiment.