OK, thanks.
Some suggestions:
- Rather than Click on found image, use the script by @ccstone to click on the Recent Run menu
- After this, a Pause 0.2, Down Arrow twice, and RETURN will edit the macro run before this one.
I'm not sure I see the point in the remaining actions in your macro.
Since you have already selected the prior run maro, how does changing the sort help you? Perhaps I'm missing the objective of your macro?