A sort is stable when elements with equal keys keep, in the output, the order they had in the input.
Computer Science · Glossary
Computer Science · Glossary
A sort is stable when elements with equal keys keep, in the output, the order they had in the input.