Brototype interview question

Sort an array with merge sort