Make sure the output lists are sorted, even if run with -r.
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 6e5f91b..1f9efa7 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -194,6 +194,12 @@
for module in sys.modules.keys():
if module not in save_modules and module.startswith("test."):
test_support.unload(module)
+
+ # The lists won't be sorted if running with -r
+ good.sort()
+ bad.sort()
+ skipped.sort()
+
if good and not quiet:
if not bad and not skipped and len(good) > 1:
print "All",