We are sorry to hear about your experience with your Samsung Galaxy phone having issues with inverted orientation while in landscape mode, and we apologize for the inconvenience it caused you.
Submit an error report through Samsung Members app as follows:
Step 1. Long press Samsung Members icon on Apps screen and tap Error reports.
Step 2. Tap OK on agreement popup to send system log data.
Step 3. Select Symptom category "Camera" and "Settings/System".
Step 4. Describe the problem in details and SEND.
How to submit an error report on Samsung Members app? | Samsung PH
Clear Cache Partition.
Step 1. Turn off your phone.
Step 2. Plug in the USB cable via PC or Type-C earphones (in case its USB-C to USB-C).
Step 3. Then press and hold Power and Volume up buttons.
Step 4. Release the power button. When the recovery screen shows up, release the volume up button.
Step 5. Navigate to and select Wipe cache partition (Volume up and down is for highlighting options and power is to select).
Step 6. Navigate to and select Yes.
Step 7. Press the power button to select Reboot system now.
Step 1. Open the Camera app, and then tap Settings.
Step 2. Reset the settings.
Step 3. Swipe to and tap Reset settings and then tap Reset.
Step 2. Click clear cache and clear data.
If the problem persists, immediately bring your device to the nearest Samsung Authorized Service Center. Rest assured that our Samsung Engineers/Technicians are competent to assess your device with suggestions, and offer to provide prompt solutions to restore it up to optimum performance.
For more assistance and guidance, you may contact us on our online Samsung Customer Care support channels below.