If two cations are present in
an electrolyte the cation
below the other one in the
electrochemical series will be
preferentially discharged.
If two anions are present in
electrolyte, the anions that is
above the other one in the
electrochemical series will be
preferentially discharged