Updated code to do fast sorting and merging
Merge pull request #20 from sjyk/sortmerge

Updated code to do fast sorting and merging