diff --git a/src/utils/ternary.js b/src/utils/ternary.js index 0d1aac572..2b29b3760 100644 --- a/src/utils/ternary.js +++ b/src/utils/ternary.js @@ -130,6 +130,11 @@ export const ternaryColorClassifier = (properties, totalFunction, colors, opts = return fun } + + + +// OLD VERSIONS + /* const orderedIndexesDec = arr => [...arr.keys()].sort((a, b) => arr[b] - arr[a]); const orderedIndexesInc = arr => [...arr.keys()].sort((a, b) => arr[a] - arr[b]);