More work done on the merge method of CollationAlgorithm class.