I know that electrolysis of a saturated solution of sodium chloride with an inert anode (eg., graphite) is a handy way to obtain pure chlorine. I have a sample of saturated salt solution from the Dead Sea which is reported to have up to 5% bromine concentration, the domination anion being $\ce{Cl}^{-}$, of course.
Will I get bromine on the anode by electrolysis of Dead Sea water? In general, if I have a mixture of chlorides and bromides, what determines the ratio of electrolytically produced pure $\ce{Cl}_2$ and $\ce{Br}_2$?