| 1 | Start | [38, 27, 43, 3, 9, 82, 10] | Full array to sort | [38, 27, 43, 3, 9, 82, 10] |
| 2 | Divide | [38, 27, 43, 3, 9, 82, 10] | Split into left [38,27,43] and right [3,9,82,10] | [38, 27, 43] and [3, 9, 82, 10] |
| 3 | Divide Left | [38, 27, 43] | Split into [38] and [27,43] | [38] and [27, 43] |
| 4 | Base Case Left | [38] | Single element, return as is | [38] |
| 5 | Divide Right Left | [27, 43] | Split into [27] and [43] | [27] and [43] |
| 6 | Base Case | [27] | Single element, return as is | [27] |
| 7 | Base Case | [43] | Single element, return as is | [43] |
| 8 | Merge | [27] and [43] | Compare 27 and 43, merge sorted | [27, 43] |
| 9 | Merge | [38] and [27, 43] | Compare 38 with 27 and 43, merge sorted | [27, 38, 43] |
| 10 | Divide Right | [3, 9, 82, 10] | Split into [3,9] and [82,10] | [3, 9] and [82, 10] |
| 11 | Divide Left Right | [3, 9] | Split into [3] and [9] | [3] and [9] |
| 12 | Base Case | [3] | Single element, return as is | [3] |
| 13 | Base Case | [9] | Single element, return as is | [9] |
| 14 | Merge | [3] and [9] | Compare 3 and 9, merge sorted | [3, 9] |
| 15 | Divide Right Right | [82, 10] | Split into [82] and [10] | [82] and [10] |
| 16 | Base Case | [82] | Single element, return as is | [82] |
| 17 | Base Case | [10] | Single element, return as is | [10] |
| 18 | Merge | [82] and [10] | Compare 82 and 10, merge sorted | [10, 82] |
| 19 | Merge | [3, 9] and [10, 82] | Merge sorted halves | [3, 9, 10, 82] |
| 20 | Merge | [27, 38, 43] and [3, 9, 10, 82] | Final merge to sorted array | [3, 9, 10, 27, 38, 43, 82] |
| 21 | End | [3, 9, 10, 27, 38, 43, 82] | Sorted array returned | [3, 9, 10, 27, 38, 43, 82] |