Index: utils/pub/command_list.dart |
diff --git a/utils/pub/command_list.dart b/utils/pub/command_list.dart |
index 973a4dedc48a7e41a72d928afbab7f4b578eed99..4476fac96d812a0245a206d391b2adfd47e18975 100644 |
--- a/utils/pub/command_list.dart |
+++ b/utils/pub/command_list.dart |
@@ -8,6 +8,7 @@ void commandList(PubOptions options, List<String> args) { |
// your cache. |
final cache = new PackageCache(options.cacheDir); |
cache.listAll().then((packages) { |
+ packages.sort((a, b) => a.name.compareTo(b.name)); |
for (final package in packages) { |
print(package.name); |
} |