merge sort implemented.
works great on stampede too