![dejalu mail dejalu mail](https://www.dejalu.fr/uploads/covers/cov_14556834b58e3153c1f8d976169064fa.jpeg)
the smart fix: figure out how to capture the "last updated" values from the Mac database, and use them to reset the corresponding "updated" values in Evernote after the import is complete. So I see two possible fixes, neither of which I can implment myself, as I don't know enough about scripting, so I'm greatly appreciate if one of you could help here: Tried a quick "dumb fix" of reversing the sort order in Mac Mail prior to import but this doesn't help, since it is just a viewing option: the script apparently follows the order set by the last modified date of these notes.
![dejalu mail dejalu mail](https://www.dejalu.fr/uploads/pictures/pp_f5d79cca36432258acf60c7da7edd6fe.png)
Once they land in evernote, they all have the correct original creation dates (lovely!), but they all have today's import date and time for their "updated" values (so they all differ by about 1 seoncd or so, as the script was walking through the list). The output from your script currently creates a rather awkward situation, since it actually reverses this order due to the fact that the "updated" date defined in Evernote for the newly imported notes is set by the order in which they are imported, and it seems that the script by default imports them starting from the most recently updated to least recent, as defined in the Mac's Note database.
![dejalu mail dejalu mail](https://www.dejalu.fr/uploads/covers/cov_712bb442704ca4c18d4e04372472ed0b.jpeg)
The capture of creation was a nice improvement, but many users also like to sort the notes based on date updated, from most recent to least recent, right? This method indeed rocks, but there's still one more detail before you get the full A+.