Python's sort is stable
@mrnarwhal55▲ 5 net votes
Equal elements keep their original order, so you can sort by a secondary key first, then by the primary key.
5 COMMENTS
Practical
Robust
Classic
Accurate
Saved
Equal elements keep their original order, so you can sort by a secondary key first, then by the primary key.
Practical
Robust
Classic
Accurate
Saved