# TAOCP 5.4.7 and 5.4.8

> Week 106 of the cracked.guide path: Knuth 5.4.7 External Radix Sorting; Knuth 5.4.8 Two-Tape Sorting.

Week 106 of 145 on cracked.guide, in TAOCP Vol 3: Sorting and Searching: TAOCP 5.4.7 External Radix Sorting and TAOCP 5.4.8 Two-Tape Sorting. The reading guides budget about 6 hours.

## Key facts {#key-facts}

- [TAOCP 5.4.7 External Radix Sorting](https://cracked.guide/guide/knuth-w088-1): Doing radix sort on data that lives on external storage, distributing into files by digit.
- [TAOCP 5.4.8 Two-Tape Sorting](https://cracked.guide/guide/knuth-w089-0): What you can do with only two tapes, and why it is so much harder than with three or more.
- Phase: TAOCP Vol 3: Sorting and Searching, weeks 90 to 117.
- Updated October 20, 2026.

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

- Explain how external radix sorting distributes records into files by digit.
- Compare external radix sorting with the shuffle phase of MapReduce.
- Explain why sorting with only two tapes needs many extra passes.

## This week's tasks {#tasks}

- [TAOCP 5.4.7 External Radix Sorting](https://cracked.guide/guide/knuth-w088-1): about 3 hours
- [TAOCP 5.4.8 Two-Tape Sorting](https://cracked.guide/guide/knuth-w089-0): about 3 hours

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

---

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