diff --git a/lib/history.js b/lib/history.js index e2bce40..6afaf11 100644 --- a/lib/history.js +++ b/lib/history.js @@ -591,7 +591,7 @@ History.prototype.getCharts = function() if(this._callback !== null) { var chartHistory = _( this._items ) - .sortBy( 'height', false ) + .orderBy( 'height', "desc" ) // .filter(function (item) // { // return item.block.trusted;