| Index: pkg/docgen/lib/src/model_helpers.dart
|
| diff --git a/pkg/docgen/lib/src/model_helpers.dart b/pkg/docgen/lib/src/model_helpers.dart
|
| index 1c8a25521e50ec98a4a4614148852c19c41116be..678fa19394cd84fbddc2dfeff3954eadee302452 100644
|
| --- a/pkg/docgen/lib/src/model_helpers.dart
|
| +++ b/pkg/docgen/lib/src/model_helpers.dart
|
| @@ -4,6 +4,8 @@
|
|
|
| library docgen.model_helpers;
|
|
|
| +import 'dart:collection';
|
| +
|
| import '../../../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart'
|
| as dart2js_mirrors;
|
| import '../../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util.dart'
|
| @@ -47,7 +49,7 @@ bool isHidden(DeclarationSourceMirror mirror) {
|
|
|
| /// Transforms the map by calling toMap on each value in it.
|
| Map recurseMap(Map inputMap) {
|
| - var outputMap = {};
|
| + var outputMap = new SplayTreeMap();
|
| inputMap.forEach((key, value) {
|
| if (value is Map) {
|
| outputMap[key] = recurseMap(value);
|
|
|