Dlang merge sort implementation.