non/spire — pull request #31 by tixxit (2012-10-10 03:33:44+00:00)
Title: Fix merge sort when # of passes is even.

This is sort of a different tack, so may or may not be worth merging all of it. The merge pass is slightly different. The main sort loop is in a tailrec. The sort that people call may do an initial in-place merge pass (width of 2) to ensure that the input array ends up with the final sorted list.