elog-gen: sort exceptions for file stability

In the elog-gen template there is an iteration over a Python `set`.
Sets are not guaranteed to have any particular order from execution to
execution, which means that a template generated from the exact same
data can have different values.   Add a 'sorted' into the set iteration
so that the file output is stable.

Stability is useful for two reasons:
    1. Some repositories check in a version of the file for UT
       purposes, which causes drastic changes in the version in that
       repo.
    2. Tools like ccache can only speed up builds if the header files
       are unchanged.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie3dc5489be5314fc7ecda49dc4bf795cfc81f064
diff --git a/tools/phosphor-logging/templates/elog-gen-template.mako.hpp b/tools/phosphor-logging/templates/elog-gen-template.mako.hpp
index 9d15c6b..1a077ca 100644
--- a/tools/phosphor-logging/templates/elog-gen-template.mako.hpp
+++ b/tools/phosphor-logging/templates/elog-gen-template.mako.hpp
@@ -22,7 +22,7 @@
         exceptions.append(exception)
 %>\
 % endfor
-% for exception in set(exceptions):
+% for exception in sorted(set(exceptions)):
 <%
     ns = exception.split("::")
     exception_name = ns[-1]