Make a topmost node

Let’s assume there are two sprites with the same parent background sprite. I’m adding a child sprite to one of them, thus nodes hierarchy becomes:

bacground > sprite1> sprite3
> sprite2
Z orders of sprite 1 and 2 are the same. Is it possible to make sprite3 always “higher” than sprite2? Even when I do something like sprite1
>addChild(sprite3, –1, 100), sprite2 may be over sprite3.

P.S. I’m not sure whether this happens in cocos2d-iphone as well.

The z orders here is not the same meaning in opengl. It is only a flag that was used to order the children of a node. The node will draw the children by the
order using inordertraversal. So, if sprite1 is drawed before sprite2, then the children of sprite1 will be drawed before sprite2. And, if sprite1 is drawed after sprite2, then the children of sprite1 will be drawed after sprite2.