fixes z-ordering when there are texture swaps

initializes and sets the _zOrder so the _children array is sorted properly.
Merge pull request #10 from aeveis/patch-1

fixes z-ordering when there are texture swaps