zOrder Support

Added zOrder support for entity.