Maximum call stack size exceeded error with merge sort function

I fixed the case with the left including mid and it now runs but doesn’t do anything. Guess I’ll go from here thanks for the help!