Rename to insert-sort and use doall to unlazy reduce function.