simplify - merge-sort-array
further simplify - merge-sort-array