Skip to content

Glossary: Algorithms Beyond the Basics in Rust

Stable sort

Also written: stable

A sort that keeps items with equal keys in their original relative order. `sort_by_key` in Rust is stable.

Where the book teaches it

Related terms

Closure