ywana-core8 0.0.762 → 0.0.763

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -6520,7 +6520,9 @@ var CollectionTree = function CollectionTree(props) {
6520
6520
  }
6521
6521
 
6522
6522
  function renderNodes(nodes) {
6523
- return nodes.map(function (node) {
6523
+ return nodes.sort(function (a, b) {
6524
+ return a.name.localeCompare(b.name);
6525
+ }).map(function (node) {
6524
6526
  var title = typeof node.name === 'boolean' ? node.field + " = " + node.name : node.title;
6525
6527
  return /*#__PURE__*/React__default["default"].createElement(TreeNode, {
6526
6528
  key: node.name,