Here's the way: look at the little "crack" on the middle of the plug on one side (the vast vast vast majority have one) – that should be facing down. I haven't used a vertical plug in a while but I think it faces left there.
For the forsaken anguish of God, microUSB, it's reversed, so crack up.