| Index: pkg/docgen/lib/docgen.dart
|
| diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart
|
| index 2ec9f60b084e05a97b0c2cf4472ca82337181e33..cd7c7973214e8592b4314958b83481f31faa91a5 100644
|
| --- a/pkg/docgen/lib/docgen.dart
|
| +++ b/pkg/docgen/lib/docgen.dart
|
| @@ -444,8 +444,10 @@ class _Generator {
|
|
|
| // Outputs all the qualified names documented with their type.
|
| // This will help generate search results.
|
| - _writeToFile(filteredEntities.map((e) =>
|
| - '${e.qualifiedName} ${e.typeName}').join('\n') + '\n',
|
| + var sortedEntities = filteredEntities.map((e) =>
|
| + '${e.qualifiedName} ${e.typeName}').toList()..sort();
|
| +
|
| + _writeToFile(sortedEntities.join('\n') + '\n',
|
| 'index.txt', append: append);
|
| var index = new Map.fromIterables(
|
| filteredEntities.map((e) => e.qualifiedName),
|
|
|