about layer in cocos

can i draw various sprites in various layer to acheive z-order effect???