Fixed looping in insertion sort procedure

Hi

I've tested the fix and this is now one of the fastest sorts. Beats even the apple one for the list I tested on. 
Sorry for the double commit, did a typo so reverted to fixed the typo in the message.