# TAOCP 5.2.4 Sorting by Merging

> Week 97 of the cracked.guide path: Knuth 5.2.4 Sorting by Merging.

Week 97 of 145 on cracked.guide, in TAOCP Vol 3: Sorting and Searching: TAOCP 5.2.4 Sorting by Merging. The reading guides budget about 8 hours.

## Key facts {#key-facts}

- [TAOCP 5.2.4 Sorting by Merging](https://cracked.guide/guide/knuth-w080-0): Merging two sorted lists, two-way merge sort on arrays (natural and straight versions), and list merge sort that works on linked records without moving data.
- Phase: TAOCP Vol 3: Sorting and Searching, weeks 90 to 117.
- Updated October 20, 2026.

## By the end of this week you can {#objectives}

- Trace bottom-up straight two-way merging pass by pass.
- Implement list merge sort that relinks records without moving them.
- Explain how to keep merging stable when keys are equal.

## This week's tasks {#tasks}

- [TAOCP 5.2.4 Sorting by Merging](https://cracked.guide/guide/knuth-w080-0): about 8 hours

Previous: [Week 96](https://cracked.guide/curriculum/week/96) · Next: [Week 98](https://cracked.guide/curriculum/week/98)

---

Source: https://cracked.guide/curriculum/week/97
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
