zoreder issue

Did the follow action effect the z order of invisible node?
layer:addChild(new_sprite)--in lua

It will.Is this a bug?