With the reference to the electrochemical series:
(1)H+ has a lower position than Na+
H+ receives electrons more readily
(2)OH- has a higher position than Cl- compared at 1M concentration
OH- losses electrons more readily
However, due to the concentration effect, if the concentration of Cl- increases, Cl- will has a higher tendencies to lose electrons than OH-. In this case, Cl- will be oxidized to Cl2 and Cl- is said to be discharged preferentially than OH-.