Why is in girl's shirt left flap upon the right one but in a man's shirt that is vice-versa?

Womens dresses were originally designed to be buttoned by others, since the buttons were down the back. If you are used to buttoning for yourself, the buttons need to be a mirror image of your own for when you button for someone else.,