ywana-core8 0.0.979 → 0.0.980

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.umd.js CHANGED
@@ -2679,7 +2679,7 @@
2679
2679
  var sortedOptions = options ? options.toSorted(function (a, b) {
2680
2680
  if (!a.label || !b.label) return 0;
2681
2681
  try {
2682
- return a.label + "".localeCompare(b.label + "");
2682
+ return a.label.localeCompare(b.label);
2683
2683
  } catch (error) {
2684
2684
  console.log('Error sorting options', error, a, b);
2685
2685
  return 0;