Cocos2DXNA/cocos2d-xna — pull request #442 by totallyeviljake (2014-10-03 05:03:24+00:00)
Title: Bug fixes for sprite batch

CCSpriteBatchNode would reorder its children but it would sort using the OrderofArrival. This value is reset to zero when nodes are added to sprite batch, therefore causing irregular drawing reordering of its children. The correct sort should use the AtlasIndex instead.