Na+ shows a markedly higher potential than K+ in DNA compaction in a crowded environment.