diff --git a/nudibranch/diff_render.py b/nudibranch/diff_render.py
index <HASH>..<HASH> 100644
--- a/nudibranch/diff_render.py
+++ b/nudibranch/diff_render.py
@@ -331,9 +331,9 @@ class HTMLDiff(difflib.HtmlDiff):
             return "<hr>"
 
     def make_whole_file(self):
-        tables = [self._diff_html[diff]
-                  for diff in self._all_diffs()
-                  if self._has_diff(diff)]
+        tables = sorted([self._diff_html[diff]
+                         for diff in self._all_diffs()
+                         if self._has_diff(diff)])
         return self._file_template % dict(
             summary=self.make_summary(),
             legend=self.legend_html(),
Tests are now output in order.