Fixing issue with indexing.
Adding MergeSort back in.