>>581
良かった良かった。あと、

http://qiita.com/items/4a8bb50c85c21d5277e9

にinsertion sortの別解が出てるので、興味があったらどうぞ。