Fix bug in merge for sorting large files

Fix missing flags that are required when merging large sorted files.
Add a few missing comments.

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>