Don't blow the stack in external merge sort; fixes #24