You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think here the index of the chunk should also be reversed to avoid the max-heap reversing the chunk in the output, which mean the output sort order is not stable.