I had to transfer my data over from my s20 to a new s20 due to issues I was having with the previous phone. My pictures in the gallery are all dated correctly and in the right order. But when I'm in an app for example discord, the photos in my phone before the transfer are completely out of order. I don't have my pictures synced to the could data or anything. And when I first switched from my s8 to the s20 I didn't have this issue.