Keywords: Sorting stability playing cards.svg en An example of stable sorting on playing cards When the cards are sorted by rank with a stable sort the two 5s must remain in the same order in the sorted output that they were originally in When they are sorted with a non-stable sort the 5s may end up in the opposite order in the sorted output own based on File Cards-2-Heart svg File Cards-7-Spade svg File Cards-5-Spade svg File Cards-5-Heart svg User Dcoetzee User WDGraham 2013-04-19 Sort algorithms Playing cards Cc-zero |