First sort

The very first sort algorithm.
I mean if you make loop variable ("i" in this case) you better use it inside loop. Unused variables are bad practice.