diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js index f19d44fbbb..5a0e31efc8 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool.js @@ -266,7 +266,7 @@ return baseclass.extend({ else if (x && y && x[0] != y[0]) return +x[0] - +y[0]; else - return a > b; + return a < b ? -1 : a > b ? 1 : 0; }); },