% showMergeSort

clc
n = 12;
for k=1:5
    x = 10 + floor(rand(1,n)*90);
    y = mergeSort(x);
    disp(['Original Array:' sprintf('  %2d',x)])
    disp(['Sorted Version:' sprintf('  %2d',y)])
    disp(' ')
end
