Liferay.Loader.define("commerce-dashboard-web$d3-hierarchy@1.1.8/src/hierarchy/sort", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    export default function (compare) {
      return this.eachBefore(function (node) {
        if (node.children) {
          node.children.sort(compare);
        }
      });
    }
  }
});
//# sourceMappingURL=sort.js.map