I have been using "Graphic Converter" to edit (rotate and other edits) my pics. I am no expert here. Works on Mac and Windows. Seems to cost just $50, and it also gives free trials.
You can Google it. Here are some links and info:
I made a screenshot of this just now. Shows 180 degrees rotate (upside down issue):