Skip to content

Edge Sorting: How the Card-Back Trick Works, the Phil Ivey Case, and Whether It's Cheating

Where to play

18+. T&Cs apply.
  1. Aurora Casino
    4.8Up to £500 + 200 Free Spins
    Play Now
  2. Play Now
  3. Play Now

Edge sorting is one of the most famous — and most misunderstood — advantage-play techniques in gambling history. At its heart, it's not about counting, marking, or switching cards. It's about spotting microscopic printing flaws on the backs of the cards themselves, then quietly persuading the casino to line those cards up so a player can read them before they're flipped. It's the method that let professional gambler Phil Ivey and his associate Cheung Yin Sun win millions at baccarat — and it's the reason two of the world's biggest casinos went to court to claw the money back. This guide explains exactly how edge sorting works, what happened in the Ivey cases, why courts called it cheating, and why it's essentially impossible to pull off today. This is an educational breakdown, not a how-to. 18+ only; T&Cs apply; if gambling stops being fun, see our responsible-gambling resources.

Type
Advantage-play technique (ruled cheating by UK Supreme Court)
Primary game
Baccarat / Punto Banco
How it works
Reading tiny asymmetries on flawed card backs after cards are rotated
Most famous user
Phil Ivey, with edge sorter Cheung Yin Sun
Amounts involved
~£7.7m at Crockfords; ~$9.6m at the Borgata
Legal status
Ruled cheating in the UK (2017); winnings recoverable in the UK and US
Baccarat Banker house edge
~1.06%
Baccarat Player house edge
~1.24%
Works today?
No — symmetrical cards, no rotation and randomised shuffling have closed the loophole

What Is Edge Sorting?

Edge sorting is an advantage-play technique in which a player identifies tiny asymmetries in the printed pattern on the backs of playing cards to distinguish high-value cards from low-value cards before they are turned over.

Here's the key idea. Some card designs — especially patterns of repeating diamonds or geometric shapes near the border — are not printed perfectly symmetrically. When the manufacturing process is slightly off-centre, the top edge of a card back looks fractionally different from the bottom edge. To the naked eye across a table it's invisible. But if you know exactly what to look for, and if certain cards have been rotated 180 degrees relative to the rest of the deck, you can tell a rotated card apart from a non-rotated one just by glancing at its back.

That single piece of information — knowing whether the next card is likely to be high or low — is enough to flip the mathematical advantage of a game like baccarat away from the house and toward the player.

Crucially, edge sorting is a reading technique, not a marking one. The player never touches, bends, or alters the cards. That distinction sits at the centre of every legal argument the technique has ever produced — and, as we'll see, it didn't save the people who used it.

How Edge Sorting Works

Edge sorting only works when several things line up at once. Broadly, the mechanism has four moving parts.

1. An asymmetric card back. The whole thing depends on cards whose back pattern isn't perfectly centred. Picture a border made of half-diamonds. On a flawless card, the half-diamonds along the top edge would be identical to those along the bottom. On a flawed card, one long edge shows slightly more of the pattern than the other. Turn that card 180 degrees and its 'signature' edge is now on the opposite side — and a trained eye can see the difference.

2. Sorting the cards by orientation. To exploit the flaw, the important cards (in baccarat, the high-value cards that decide hands) all need to be facing one way, while the rest face the other. The player can't do this themselves, so they manufacture reasons for the dealer to rotate specific cards — typically framed as a harmless personal superstition ("could you turn that one for luck?"). Over a shoe, the desired cards get quietly sorted into a consistent orientation.

3. Preserving the orientation through the shuffle. A normal shuffle would scramble the orientations and destroy all that work. So the technique also requires an automatic shuffling machine that keeps each card's orientation intact between rounds — again, requested under an innocent-sounding pretext.

4. Reading the edge in play. Once the deck is sorted and the orientation is locked in, the player can glance at the back of the next card to be dealt and know, with strong probability, whether it's a high card or a low one. In baccarat, knowing the value of the first card gives the player enough of an edge to bet accordingly.

None of these steps involves altering a card. Every step involves getting the casino to do the work — which is precisely why the courts and the casinos saw it as manipulation rather than skill.

The Phil Ivey Case

Edge sorting went from an obscure advantage-play footnote to a global news story because of Phil Ivey, one of the best-known professional poker players in the world.

Crockfords, London (2012). Playing Punto Banco (a form of baccarat) at the exclusive Crockfords club in Mayfair, Ivey — working with expert edge sorter Cheung Yin Sun (known variously as 'Kelly' or Cheung Sun) — won approximately £7.7 million. The pair had the dealer rotate specific cards, framing it as superstition, and requested an automatic shuffler that preserved card orientation. The exploited deck used purple Gemaco cards with an asymmetric back pattern. Crockfords grew suspicious and refused to pay, returning only Ivey's original stake.

The Borgata, Atlantic City. Ivey and Sun used the same approach at the Borgata in New Jersey, winning approximately $9.6 million. Unlike Crockfords, the Borgata had already paid out — so it sued to recover the money and won.

Ivey never disputed that he used edge sorting. His argument, in both jurisdictions, was that it was legitimate advantage play: he never touched the cards, never marked them, and simply used information the casino's own flawed cards and procedures made available. The casinos, and ultimately the courts, disagreed.

Is Edge Sorting Illegal?

This is the question everyone asks, and the answer is nuanced: edge sorting is not a distinct criminal offence with its own statute, but the highest court in the UK has ruled that it amounts to cheating — and cheating voids your right to any winnings.

In the UK litigation over the Crockfords winnings, the England and Wales High Court and the Court of Appeal both ruled against Ivey. In 2017, the UK Supreme Court upheld those decisions, ruling that what Ivey did constituted cheating in civil law. The court's reasoning was that by orchestrating the sorting of the cards through the dealer, Ivey had interfered with the game — even though he never physically touched or altered a single card. Honest belief that he was playing legitimately did not make the conduct honest by the standards the court applied.

In the United States, the Borgata case reached a similar practical outcome: the court found Ivey had breached the terms of play, and the Borgata was entitled to recover the money.

The takeaway for a normal player: whether or not you personally consider it cheating, the courts have made the financial reality clear. Winnings obtained through edge sorting are recoverable by the casino, and attempting it puts you on the wrong side of both the operator and the law. This is not a technique to try. 18+ only; T&Cs always apply.

Edge Sorting in Baccarat, Blackjack and Poker

Edge sorting is overwhelmingly associated with baccarat / Punto Banco, and for good reason: that's the game Ivey targeted, and it's the game where the technique is mathematically most powerful.

Why baccarat is the ideal target. In baccarat, the outcome hinges heavily on a small number of high-value cards, and the player makes a simple binary-style decision (Player vs Banker) before cards are revealed. Knowing the likely value of the very first card is enough to swing the bet. The game is also fast, high-stakes, and often played from an automatic shuffler — all conditions the technique needs.

Blackjack comes up in advantage-play discussions and forums, because knowing whether the next card is high or low is obviously valuable when you're deciding whether to hit or stand. In principle the reading works the same way. In practice, blackjack procedures — hand-shuffling, cut cards, and dealers who don't rotate cards on request — make the sorting step far harder to set up than in a superstition-tolerant high-roller baccarat pit.

Poker is the game people ask about most and the game where edge sorting is least applicable. In most casino poker the cards belong to the players' private hands, aren't dealt from a controllable sorted shoe in the same way, and there's no dealer you can persuade to rotate community cards under a superstition pretext. The information you'd gain doesn't map onto poker's structure the way it maps onto baccarat.

In short: edge sorting is a baccarat story. Everything else is theoretical.

The Math: Why One Card's Identity Changes Everything

To understand why edge sorting was worth millions, you have to understand how thin the house's advantage in baccarat actually is.

Under normal play, baccarat is one of the lowest-edge games in the casino. The Banker bet carries a house edge of roughly 1.06%, and the Player bet roughly 1.24%. Those are the numbers that make baccarat attractive to high rollers: over the long run the house keeps a little over a penny per dollar wagered on Banker.

Now flip the perspective. That ~1% edge belongs to the house only because the player has no idea what's coming. The moment you can reliably predict whether the first card out of the shoe is high or low, you're no longer guessing. You're making an informed bet on a game that was already close to even. Even a modest, reliable read on the first card is enough to erase that ~1% house edge and hand the player a positive expectation instead.

That's the whole point: edge sorting doesn't need to be right every time. Baccarat's margins are so tight that a small, consistent information advantage — applied across thousands of high-stakes hands — compounds into an enormous edge. It's the same principle that makes card counting work in blackjack, achieved through a completely different (and far more contentious) route.

A fair caveat: the exact size of the resulting edge depends on the specific cards being sorted, the accuracy of the read, and the game rules. There is no single published 'edge sorting percentage,' and anyone quoting a precise figure for your table is guessing.

What Had to Go Right for Edge Sorting to Work

Edge sorting was never a technique an ordinary player could deploy on a whim. It required a rare stack of conditions to all be true at once:

  • Flawed cards. The specific decks in play had to have measurable printing asymmetry. In the Ivey cases these were purple Gemaco cards. A perfectly symmetrical back defeats the entire method.
  • A cooperative dealer. Someone had to rotate the target cards, and the player had to persuade the dealer to do it — which meant credible cover (a 'lucky' superstition) and a venue willing to indulge a big-money player's quirks.
  • An orientation-preserving shuffler. A standard shuffle would randomise orientations and wipe out the sort. The technique needed an automatic shuffling machine that kept each card the same way up round after round.
  • Elite pattern-reading skill. Reading a fractional difference on a card back at speed, across a table, under pressure, is genuinely hard. This is why Ivey worked with a specialist edge sorter rather than doing it alone.
  • High stakes and volume. Because the per-hand edge is small, you need enormous bets over many hands for it to pay — which only a high-roller environment allows.

Remove any one of these and the technique collapses. That fragility is exactly why edge sorting is a historical curiosity, not a live threat to today's casinos.

How Casinos Detect and Prevent Edge Sorting Today

The uncomfortable truth exposed by the Ivey cases is that casinos should have caught on much sooner. A player insisting the dealer rotate specific cards, then demanding a particular shuffler, is a glaring red flag in hindsight. The industry responded, and modern countermeasures make edge sorting effectively obsolete.

Symmetrical cards. The simplest fix is at the source. Card manufacturers and casinos now pay close attention to back-pattern symmetry, and many venues use cards designed so that a 180-degree rotation is undetectable. No asymmetry, no edge to sort.

No card rotation, ever. Dealers are trained not to rotate individual cards on a player's request, no matter how it's framed. 'Superstition' is no longer an acceptable reason to turn a card.

Shuffling that randomises orientation. Casinos use pre-shuffled shoes and shuffling procedures that scramble card orientation, so any sort a player might attempt is destroyed before play.

Surveillance and behavioural flags. Requests for specific decks, specific shufflers, or specific dealer behaviour now attract immediate attention from surveillance and floor staff.

At regulated online and live-dealer casinos, the concern is largely moot: online RNG games deal from a certified random number generator with no physical cards at all, and live-dealer studios run tightly controlled shuffling and camera protocols. Edge sorting is a physical, land-based, high-roller phenomenon that the industry has since engineered out.

Cheating or Advantage Play? An Honest Verdict

This is the debate that gives edge sorting its lasting fascination, and it deserves a straight answer.

The case for 'advantage play.' Ivey never touched the cards, never marked them, and never brought a device to the table. He used flawed cards the casino chose to deal and procedures the casino agreed to. By that logic, edge sorting sits in the same family as card counting — using publicly available information and skill to tilt the odds, which is not illegal.

The case for 'cheating.' The courts rejected that framing, and their reasoning is persuasive. Card counting is passive: a counter observes cards the casino freely reveals and does nothing to change the game. Edge sorting is active manipulation: the player deliberately deceives the dealer into rotating cards and configuring equipment for the express purpose of turning a fair random game into a game whose outcome he can partly predict. The deception is the problem, not the observation.

Our verdict. Regardless of where you land philosophically, the practical answer is settled. Multiple courts across two countries ruled that edge sorting winnings are recoverable, and the industry has closed the loopholes that made it possible. It is not a viable strategy, it is not a smart edge to chase, and attempting it today would fail on the mechanics and cost you on the law. The honest, expert takeaway: admire the ingenuity, understand the mechanism, and play games straight. No technique — edge sorting included — lets you beat a fair casino over the long run without crossing a line the courts have already drawn.

18+ only. T&Cs apply. If gambling is causing you harm, please reach out through our responsible-gambling resources.

Famous Cases at a Glance

  • Crockfords, London (2012): Punto Banco. Approximately £7.7 million won by Phil Ivey and Cheung Yin Sun using purple Gemaco cards. Crockfords refused to pay; UK courts, up to the Supreme Court in 2017, ruled the conduct was cheating.
  • The Borgata, Atlantic City: Approximately $9.6 million won using the same method. The Borgata had paid out, then sued and won repayment.

Two different countries, two different courts, one consistent outcome: the money went back to the house.

Bankroll Management and Responsible Play

The real lesson of the Ivey saga isn't 'how to get an edge' — it's how thin every casino edge actually is, and how hard (and legally fraught) it is to overcome. For everyone playing straight, the smart move is managing risk, not chasing loopholes.

  • Set a budget before you play, treat it as entertainment spend, and never chase losses.
  • Understand the house edge of what you're playing — baccarat's Banker bet (~1.06%) is one of the lowest in the casino, which is why it attracts serious players.
  • Play games with rules you understand, and use published RTP and house-edge figures to choose smarter bets.
  • Take breaks and set limits. Deposit limits, session timers and reality checks exist for a reason.
  • No system guarantees a profit. Strategy and game selection can reduce the house edge; nothing legal eliminates it over the long run.

If your gambling stops feeling like fun, use the tools on our responsible-gambling page and consider self-exclusion or support services. 18+ only; T&Cs apply; play within your means.

Pros

  • Understanding edge sorting teaches you how thin the casino's real advantage is — baccarat's Banker edge is only about 1.06%
  • Explains the difference between passive advantage play (card counting) and active manipulation (edge sorting)
  • Clarifies the legal reality: courts have ruled edge sorting winnings are recoverable by casinos
  • Shows why modern casino countermeasures make the technique effectively obsolete
  • Helps players spot the myths around 'beating the house' and play more realistically

Cons

  • Edge sorting is not a technique you can or should attempt — courts have ruled it constitutes cheating
  • It required a rare combination of flawed cards, a cooperative dealer and an orientation-preserving shuffler that no longer exists at modern tables
  • Even where it worked, casinos refused to pay or successfully sued to recover the money
  • It is almost entirely limited to physical baccarat; it does not translate to online, live-dealer, or poker games
  • No legal strategy eliminates the house edge over the long run

FAQ

What is the edge sorting technique?
Edge sorting is an advantage-play technique where a player identifies tiny printing asymmetries on the backs of playing cards to tell high-value cards from low-value ones before they're turned over. It requires flawed (asymmetric) cards, getting a dealer to rotate specific cards, and a shuffler that preserves card orientation. The player never touches or marks the cards — they only read them.
Is edge sorting illegal?
There's no single statute that names it, but in 2017 the UK Supreme Court ruled that edge sorting amounts to cheating in civil law, upholding earlier High Court and Court of Appeal decisions against Phil Ivey. In the US, the Borgata successfully sued to recover winnings. In practice, winnings obtained this way are recoverable by the casino, so it is not something to attempt.
How much did Phil Ivey win edge sorting?
Ivey and his associate Cheung Yin Sun won approximately £7.7 million playing Punto Banco at Crockfords in London in 2012, and approximately $9.6 million at the Borgata in Atlantic City. Crockfords refused to pay out, and the Borgata sued and won repayment — so neither win ultimately stood.
Does edge sorting still work?
Essentially no. Modern casinos use cards with symmetrical backs, train dealers never to rotate cards on request, and use shuffling procedures and pre-shuffled shoes that randomise card orientation. Online and live-dealer games remove physical cards or control them tightly. The rare combination of conditions edge sorting needed no longer exists at regulated tables.
Is edge sorting still possible?
Only in theory, and only if a venue somehow used flawed asymmetric cards, allowed dealers to rotate cards, and used an orientation-preserving shuffler — all of which the industry has since eliminated. Even if it were physically possible, courts have established that the winnings are recoverable, so there's no upside.
How does Phil Ivey's edge sorting work?
Ivey played baccarat with purple Gemaco cards that had a slightly off-centre back pattern. Under the cover of a personal 'superstition,' he had the dealer rotate the key high-value cards 180 degrees, and requested an automatic shuffler that kept card orientation intact between rounds. Once the important cards were all oriented one way, he could read their backs and know whether the next card was high or low before it was dealt.
Can you use edge sorting in poker?
Not really. Edge sorting is a baccarat technique. Poker's structure — private hands, no controllable sorted shoe, and no dealer you can persuade to rotate community cards under a superstition pretext — means the information you'd gain doesn't map onto how poker is played. It's the least applicable game for the technique.
How do casinos prevent edge sorting?
Casinos now use cards with genuinely symmetrical back patterns, train dealers never to rotate individual cards for a player, use pre-shuffled shoes and shuffling machines that randomise orientation, and flag any player requesting specific decks, shufflers or dealer behaviour. At online and live-dealer casinos, certified RNGs and controlled studio procedures make the technique a non-issue.
Is edge sorting cheating or advantage play?
Ivey argued it was legitimate advantage play because he never touched or marked the cards. The courts disagreed: unlike card counting, which passively observes cards the casino reveals, edge sorting actively deceives the dealer into altering the game's conditions. UK and US courts treated that manipulation as cheating, and the winnings were recoverable.
What cards are vulnerable to edge sorting?
Cards with asymmetric back designs — typically repeating patterns like half-diamonds near the border that aren't printed perfectly centred, so one long edge looks slightly different from the other. In the Ivey cases the vulnerable cards were purple Gemaco cards. Cards designed with fully symmetrical backs are immune.
Why did Ivey lose the Crockfords court case?
The UK courts, up to the Supreme Court in 2017, ruled that by orchestrating the rotation of the cards through the dealer and requesting specific equipment, Ivey had interfered with the game — which amounted to cheating, even though he never physically altered a card. His honest belief that it was legitimate advantage play did not make the conduct honest by the legal standard applied.
18+Gambling can be addictive. Please play responsibly. 18+ only.BeGambleAware