Syntax improvements to merge sort