File:Sorting playing cards using stable sort.svg

Original file(SVG file, nominally 585 × 367 pixels, file size: 98 KB)

Commons-logo.svg This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

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:
Creative Commons CC-Zero 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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

19 April 2013

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current14:05, 19 April 2013585 × 367 (98 KB)Dcoetzee{{Information |Description ={{en|1=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 st...

The following page uses this file:

Metadata