Here's some broscience for you...
Masculine European men tend to vote right.
Feminine/non-masculine European men tend to vote left.
Masculine Immigrants tend to vote left (but display non-liberal behaviours).
The demographics of France are very different to USA/UK regarding the masculinity/feminity spectrum. Euro Frenchmen are very calm and diplomatic. They tend to be frail and not display much masculinity or dominance at all. In USA the values are roughly 50/50, and the UK tends to lean strongly towards being more masculine as do countries like Russia.
The average UKer is much more likely to chant "chop the hands of theives!" than a Euro Frenchman, or a German or a Swede. The French immigrant Arab or African is also likely to chant this but will almost always vote against right wing polititians - which is analogious to Muslims in the UK (who are right-wing/conservative by nature) voting for Labour (left-wing).
Given this broscience the result of this election is pretty obvious.