This typically happens because Windows will update the “Date Modified” tag on the photos (the day you transferred them to your PC), and many Android gallery apps will interpret this tag, instead of the correct EXIF data (Date Taken). Thus resulting in your pictures being displayed out of order. There are a few ways to approach this, which we will list below.
Option 1: Zipping Your Photos Before Transfer
All of your photos should be intact, because Windows will not have updated their “Date Modified” tag while they were inside an archive folder. Please note this may not work perfectly, some users report that a few images or videos (but not all) are still affected even during this method.
Option 2: Total Commander
This method will require a rooted Android device.
Option 3: FTP Server + GoodSync
Final Notes
It’s worth mentioning that you will typically never encounter this issue if you sync your photos to an online storage cloud, such as Google Photos. However we understand that syncing is not always possible, especially on limited data plans. Another obvious solution you might be thinking is why not just use a gallery app that correctly sorts by EXIF data? Unfortunately, there are practically none! This has been asked many times on various Android forums. Of all the gallery apps available for Android, there is only one known that seems to consistently read a photos meta-data, and is capable of sorting by meta-data tags (such as Date Taken). It is Piktures, available on Google Play.
How to Transfer Large Files Quickly Between Two Android DevicesHow to Roll Back to Windows 10 from Windows 11 (Without Losing Your Data)How to Transfer Files Between Android Phones and Tablets With MTP on Ubuntu5 Methods to Unpair Apple Watch [Without or Without iPhone]