codingsorting
Stable sorting matters when ties carry meaning
Anonymous
A stable sort preserves the original order of items with equal keys. That matters when an earlier ordering carries meaning; otherwise, a tie-breaker in the sort key makes the order explicit.
0