shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$container$container_mixins$sortMixin = function(global, require, module, exports) {
  function sortChildren(a, b) {
    return a._zIndex - b._zIndex;
  }
  exports.sortMixin = {_zIndex:0, sortDirty:!1, sortableChildren:!1, get zIndex() {
    return this._zIndex;
  }, set zIndex(value) {
    this._zIndex !== value && (this._zIndex = value, this.depthOfChildModified());
  }, depthOfChildModified() {
    this.parent && (this.parent.sortableChildren = !0, this.parent.sortDirty = !0);
    this.parentRenderGroup && (this.parentRenderGroup.structureDidChange = !0);
  }, sortChildren() {
    this.sortDirty && (this.sortDirty = !1, this.children.sort(sortChildren));
  }};
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$container$container_mixins$sortMixin.js.map
