Neither of them are inverted.
Your picture shows an upside down Union Jack. the red, aligned diagonal is showing as descending from the top left to the bottom right. This is upside down.See link related
http://projectbritain.com/geography/unionjack7.html
Finally! Someone that can comprehend upside down (flipped top to bottom) rather than rotated 180 degrees, Your upper flag is displayed correctly.