How to open multiple doors when killing enemies in a room

So how would you do that then? As I realized what you mean now as when I reopened my project the doors are opening in a completely different order. And if im being honest I literally have 0 idea on how to fix this/make it so they can open in an order i want them to.

The enemies aren’t in the level by default and are spawned in when walking through a collision box which is the entrance to each room, then once an enemy is killed it calls an “Enemy Dead” Custom event (was originally a event tick), checks to see if enemies alive is 0 and if it does open the door, that’s how its supposed to function anyway.