MergeSort implementation doesn’t work correctly
I’ve been trying to implement MergeSort in Python from the book Introduction to Algorithms and I don’t know why this version is not working correctly (it does compile but the list isn’t sorted properly).
My code: