summaryrefslogtreecommitdiff
path: root/src/client/view
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view')
-rw-r--r--src/client/view/layouts.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/view/layouts.js b/src/client/view/layouts.js
index 0956750e..ffbe1db9 100644
--- a/src/client/view/layouts.js
+++ b/src/client/view/layouts.js
@@ -111,7 +111,9 @@ function($, d3, _, rz_core) {
small_cutoff = _.max(_.keys(small_number_angles));
return layout__sync(function () {
- var bytype = _.sortBy(_.groupBy(this._nodes, 'type'), "length"),
+ var bytype = _.sortBy(_.groupBy(this._nodes, 'type'), "length").map(function (nodes) {
+ return _.sortBy(nodes, "name");
+ }),
types = _.keys(bytype),
i,
r,