Skip to content

Glossary: Data Structures and Algorithms in Java

stable sort

Also written: stable, stability

A sort that keeps equal items in their original order, such as Steam & Co staying before Little Owl when both total 144. Object sorts in Java are stable.

Where the book teaches it

Related terms

merge sortTimSortcomparator