Skip to content

Glossary: Data Structures and Algorithms in Go

Stable sort

Also written: stable, stability

A sort that keeps equal items in their original order. Steam & Co stays ahead of Little Owl when both orders total 144.

Where the book teaches it

Related terms

Comparison functionMerge sortPattern-defeating quicksort