Refactor sort_and_merge
Fix sort_and_merge

Assignment is better than swap in this case
Optimize sort_and_merge futher

If vector's size is 1, no process is required.
Merge pull request #371 from gintenlabo/refactor-sort_and_merge

Refactor sort_and_merge