glimpse gallery does not sort by exif metadata
<!-- INSTRUCTIONS
What not to report
- Bugs in unofficial builds or anything not downloaded from our official portal
- Missing Builds
- Problems with the website
- Asking for device support
- Feature requests
If you need help, please see https://wiki.lineageos.org/how-to/bugreport#android-bugs for more detailed instructions on how to report bugs or https://www.lineageos.org/community/ for ways to get in touch with the community.
Anything between <!- - and - -> won't be shown when your issue is created.
-->
## Expected Behavior
Glimpse should sort images based on `Date and Time` from exif metadata.
## Current Behavior
Glimpse appears to sort based on when it discovered the image on my device.
[logcat and bugreport](/uploads/b5aa0e54bbbbedfcd61deec2d45324dc/bugreport-flame-UQ1A.240205.004-2024-03-23-09-46-15.zip)
## Steps to Reproduce
1. Back up `adb pull -a /sdcard/DCIM`
2. Restore to LOS21 device `adb push DCIM sdcard`
3. Wait for `glimpse` to find the images
4. Notice images are not sorted by creation time and all image *Information* shows discovery time.
## Device information
<!--
THIS SECTION IS MANDATORY. If it is not filled out correctly, your issue will be marked as invalid.
The following is a partially filled out example. It will be ignored by the bot that processes issues, even if the information in the example is updated.
Please fill out the second (blank) copy with your actual device information instead. The device codename can be found at https://wiki.lineageos.org/devices/, and most of the other required information is visible when navigating to "About phone" in the Settings and clicking on the "Android version" item.
/device redfin
/version lineage-20
/date 2023-03-22
/kernel Linux localhost 4.19.261-ga3e87045cf37 #1 Wed Mar 22 06:26:12 UTC 2023
/baseband g7250-00247.1-230113-B-9488784
/mods Google Apps, F-Droid
-->
/device flame
/version lineage-21
/date 2024-03-06
/kernel 4.14.336-gfe61ffb52659
/baseband g8150-00123-220708-B-8810441
/mods MicroG
<!-- Replace the following line with "I have read the directions" -->
I have read the directions
issue