Apps/program that add tags to JPG’s metadata while keeping the last modified timestamp for either Android and Windows [closed]

I sort the images in my phone gallery according to last modified for convenience. But when I later add tags to them for easier search, that also alter the file’s last modified timestamp, moving its position in the gallery to the top. Is there any program/apps that can do both tagging and preserving timestamp automatically?

Without having to backup original files then overwrite the newly tagged files’ last modified with the old ones?