updated zIndex sort
Merge pull request #10 from theamarpatel/master

updated zIndex sort