categories uses real data 🎉

This commit is contained in:
Colin Megill
2017-10-16 10:53:57 -07:00
parent 0d17563522
commit dd4bf76607
2 changed files with 42 additions and 24 deletions
-7
View File
@@ -1,7 +0,0 @@
export const alphabeticallySortedValues = (values) => {
return Object.keys(values).sort((a, b) => {
var textA = a.toUpperCase();
var textB = b.toUpperCase();
return (textA < textB) ? -1 : (textA > textB) ? 1 : 0;
})
}