ex7_sorting first commit
sorting by looping through possible comparisons
fixed order of output
fixed third comparison loop