Fast and dirty implementations of Insert and merge sorts for arrays.