diff --git a/beat/web/reports/static/reports/app/directives/tableItem.js b/beat/web/reports/static/reports/app/directives/tableItem.js index 9a9ee7ab5719424cc1608c33ffb57a54943b85f1..9162d1b980b59d6f2b2025b628bb7f4fa028ba10 100644 --- a/beat/web/reports/static/reports/app/directives/tableItem.js +++ b/beat/web/reports/static/reports/app/directives/tableItem.js @@ -125,7 +125,7 @@ angular.module('reportApp') let exps = scope.group.experiments // clone arr .map(e => `${e}`) - .sort((ea, eb) => (scope.sortField.isReversed ? -1 : 1) * (scope.sortFunc(ea) > scope.sortFunc(eb) ? -1 : 1)) + .sort((ea, eb) => (scope.sortField.isReversed ? -1 : 1) * (scope.sortFunc(ea) < scope.sortFunc(eb) ? -1 : 1)) ; let str = '';