summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 8b10d78..1f366cd 100644
--- a/js/main.js
+++ b/js/main.js
@@ -41,7 +41,7 @@ app.controller('VisualisationController', function($scope, $http, $q, $interval)
data: value
});
$scope.steps.sort(function(a, b) {
- return a.charAt(0) > b.charAt(0);
+ return a.name.charAt(0) > b.name.charAt(0);
});
});
});