My suggested enhancement is to set the DateTimeOriginal exif tag in the photo so programs like fotoxx can sort by the photo date/time.
I have never written a line of C code nor an original line of shell script, but can do a bit of copy/paste. (Yes I have read your linux phone blog.) I have been able to implement my suggestion by modifying my ~/.config/megapixels/postprocess.sh with an extra line to get exiftool to do the work as follows:
if command -v exiftool > /dev/null
exiftool -tagsFromfile "$MAIN_PICTURE.$TIFF_EXT"
-overwrite_original "$TARGET_NAME.jpg" exiftool -tagsFromFile @ "-ModifyDate>DateTimeOriginal" -overwrite_original "$TARGET_NAME.jpg" fi
Once again my thanks for your contributions to the PinePhone developement - I hope you find my suggestion useful.
Chris (aka dukla2000)