Insertion Sort
Directions:
1. Watch videos here on the different sorts
2. Fill in the empty blocks from strating from left to right
Step 1
a.Start with the most left box(highlighted in red). Check if the number in the blue box is smaller than the one in the red box.
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 2:
a. Check if the number in the blue box is smaller than the one in the red box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 2b:
a. Check if the blue box is smaller than the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 3:
a. Check if the blue box is smaller than the red box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 3b:
a. Check if the blue box is smaller than the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 3c:
a. Check if the blue box is smaller than the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 4:
a. Check if the blue box is smaller than the red box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 4b:
a. Check if the blue box is smaller than the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 4c:
a. Check if the blue box is smaller than the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 5:
a. Check if the number in the blue box is smaller than the one in the red box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 5b:
a. Check if the number in the blue box is smaller than the one in the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 5c:
a. Check if the number in the blue box is smaller than the one in the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 5d:
a. Check if the number in the blue box is smaller than the one in the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down
Step 5e:
a. Check if the number in the blue box is smaller than the one in the black box
b. If it is, switch the two numbers. If not, do not switch the numbers.
c. Bring the rest of the elements down