The key 1e15 + bb cannot separate NL2 and NL5: doubles near 1e15 are 0.125 apart, so cash stakes stayed unordered. Use a (cash, height) tuple instead; order is unchanged otherwise (cash by big blind, then tournaments by buy-in). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>