Merge Sort

O(n log n)

Colour Guide

Active Merge Range
Current Element (k)
Fully Sorted