This project demonstrates the order of execution among sprites and the stage. Click and drag a sprite to put it on top. Then click the green flag again to update the list.
⚠️ Although this allows you to control the order of execution implicitly by arranging the layering of your sprites, I would advise you NOT to do this, since it will make the code very difficult to follow. Instead, control the order of execution explicitly, using messages for example. If you return to the project later, you will be very thankful that you did. For a much more thorough demonstration, which also demonstrates the order of execution among scripts WITHIN each sprite, check out this project by @TheLogFather, which was where I learned about this in the first place: https://scratch.mit.edu/projects/18490761/