Did you know Cards Games

Cocktail shaker sort

Cocktail shaker sort: sorting algorithm. No. 200,897 of 4,515,532 cards by fame.

Cocktail shaker sort: quick facts

Description
Sorting algorithm
Rarity in the game
Epic card
In its topic
No. 3,369 of 9,102 “Computer science” cards
Wikipedia
article in 24 languages
Wikidata
Q847294
Wikipedia page views
about 2,400 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Play Masterpiece: match works to their artist →

Picture illustrating “Cocktail shaker sort”
Photo: Simpsons contributor, CC BY-SA 3.0 (Wikimedia Commons)

Cocktail shaker sort: summary

Cocktail shaker sort, also known as bidirectional bubble sort, cocktail sort, shaker sort (which can also refer to a variant of selection sort), ripple sort, shuffle sort, or shuttle sort, is an extension of bubble sort. The algorithm extends bubble sort by operating in two directions. While it improves on bubble sort by more quickly moving items to the beginning of the list, it provides only marginal performance improvements.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

  • Data security — protecting digital data from destructive forces and from the unwanted actions of unauthorized users
  • GMX — web portal with free e-mail service from German origin
  • LyX — document processing software
  • HyperCard — hypermedia system for Apple Macintosh and Apple IIGS computers
  • iMac Pro — all-in-one desktop computer designed and built by Apple Inc.
  • Pixel 5 — 2020 Android smartphone by Google
  • Martin Edward Hellman — American cryptologist
  • PDP-10 — mainframe computer family from DEC
  • Windows Virtual PC — virtualization program for Microsoft Windows
  • Dominion Voting Systems — Canadian electronic voting systems company
  • IPython — advanced interactive shell for Python
  • Gibbs sampling — algorithm
  • Search algorithm — No. 1,685 of the “Computer science” cards
  • Compiz — No. 3,468 of the “Computer science” cards
  • Scorewriter — No. 4,369 of the “Computer science” cards

The best-known of the 9,102 “Computer science” cards

This card's topics

“Cocktail shaker sort” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.