Event Priority

What is the easiest way for me to control the priority of an event?

So, if two events are on the same space (after moving one of the events) and below character level, how do I control which event is visually on top?

Also, can I control which event is triggered upon activation by the character?

Thanks!
I think the event with the lowest ID will be shown below the one with the highest ID, but I haven't tested that.


And since $game_map.events is a hash, I don't think it actually has any sorting - I've never been able to get a hash to be consistent in the way it returns its keys. So unless you change the Game_Map.events_xy and similar methods, I don't think there's a way to make a particular event triggered by the player if there are two events in the same space. It'll just grab the first one it finds, which may not be the lowest event id.

Original thread: https://forums.rpgmakerweb.com/threads/event-priority.38035/