ywana-core8 0.0.516 → 0.0.517

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.516",
3
+ "version": "0.0.517",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -213,12 +213,7 @@ export const CollectionTree = (props) => {
213
213
  })
214
214
  }
215
215
 
216
- const items = sorter ? all.sort((a,b) => {
217
- const labelA = `${a.studio}${a.name}`
218
- const labelB = `${b.studio}${b.name}`
219
- return labelA.localeCompare(labelB)
220
- }) : all
221
-
216
+ const items = sorter ? sorter(all) : all
222
217
  const nodes = generateNodes(levels, items)
223
218
  return (
224
219
  <main>