cocos2d/cocos2d-x — pull request #5123 by ricardoquesada (2014-01-18 19:36:56+00:00)
Title: GlobalZOrder is used for render priority...

...and not vertexZ

Node::setGlobalZOrder() is used to change that.

Node::setZOrder() -> Node::setLocalZOrder();