|
@@ -1,5 +1,5 @@
|
|
|
-define(["chroma-js", "virtual-dom", "numeral-intl"],
|
|
|
- function (Chroma, V, numeral) {
|
|
|
+define(["chroma-js", "virtual-dom", "numeral-intl", "vercomp" ],
|
|
|
+ function (Chroma, V, numeral, vercomp) {
|
|
|
|
|
|
return function (config) {
|
|
|
var self = this
|
|
@@ -128,7 +128,7 @@ define(["chroma-js", "virtual-dom", "numeral-intl"],
|
|
|
})
|
|
|
|
|
|
fillTable(statusTable, statusDict.sort(function (a, b) { return b[1] - a[1] }))
|
|
|
- fillTable(fwTable, fwDict.sort(function (a, b) { return b[1] - a[1] }))
|
|
|
+ fillTable(fwTable, fwDict.sort(function (a, b) { return vercomp(b[0], a[0]) }))
|
|
|
fillTable(hwTable, hwDict.sort(function (a, b) { return b[1] - a[1] }))
|
|
|
fillTable(geoTable, geoDict.sort(function (a, b) { return b[1] - a[1] }))
|
|
|
fillTable(autoTable, autoDict.sort(function (a, b) { return b[1] - a[1] }))
|