It'll be sorted like CSS z-index style. If objects have same zIndex value, the one that was added latest is overlapped to other one.