updates to sort_and_merge
Merge branch 'master' of https://github.com/bletham/shared_coding