When you cast a dispel magic on a creature with multiple spell effects on them, you first automatically dispel any spells that are of low enough level, then make an ability check against any that are higher level than your dispel to attempt to destroy them.
When this happens, who decides which effect ends first? Does the caster, the target, or the DM decide in what order to end the spells?
For example: Suppose I am a wizard. In a desperate fight, I've cast stoneskin on myself, and but then my enemy manages to land a hit with contagion and inflict Mindfire. I'm in trouble, so I cast dispel magic on myself.
The DM wants me to roll against contagion first. If I succeed, the disease will go away, and I won't have disadvantage when I subsequently roll to dispel my own stoneskin. Of course, I'd rather try my roll against stoneskin first, while I have disadvantage on Intelligence checks, and then roll against contagion second.
Who gets to pick the order?