# TAOCP 5.2.5 Sorting by Distribution

> Week 98 of the cracked.guide path: Knuth 5.2.5 Sorting by Distribution.

Week 98 of 145 on cracked.guide, in TAOCP Vol 3: Sorting and Searching: TAOCP 5.2.5 Sorting by Distribution. The reading guides budget about 6 hours.

## Key facts {#key-facts}

- [TAOCP 5.2.5 Sorting by Distribution](https://cracked.guide/guide/knuth-w081-0): Radix sorting: distributing records into piles by digit, least significant digit first, using linked lists to avoid moving data, with analysis of when it beats comparison sorts.
- 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 a least-significant-digit radix sort pass on decimal keys.
- Implement LSD radix sort with counting sort on byte-sized digits.
- Explain when radix sorting beats comparison sorting.

## This week's tasks {#tasks}

- [TAOCP 5.2.5 Sorting by Distribution](https://cracked.guide/guide/knuth-w081-0): about 6 hours

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

---

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