File:Sorting playing cards using stable sort.svg
Summary
| Description |
English: Sorting a list of cards first by suit (order: clubs (♣), diamonds (♦), hearts (♥), spades (♠)), and then by rank within each suit. This is done by first sorting by rank (using any sort), and then using a stable sort to sort by suit. This demonstrates one application of stable sorting. |
| Date | |
| Source | Own work, based on File:Cards-6-Heart.svg, File:Cards-3-Diamond.svg, File:Cards-7-Club.svg, File:Cards-5-Diamond.svg, File:Cards-7-Spade.svg, File:Cards-4-Club.svg, File:Cards-9-Spade.svg |
| Author | User:Dcoetzee, User:WDGraham |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
| This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
| The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
|