Run a For Each (ordered) loop sorted by the expression enemy.y, order ascending, then add an action to send the current enemy to the front. That will order all of your enemies properly relative to each other, then it's just a matter of properly ordering your other objects among them.