diff --git a/excuse.py b/excuse.py index 87f5538..8942bef 100644 --- a/excuse.py +++ b/excuse.py @@ -220,10 +220,10 @@ class Excuse(object): excusedata["new-bugs"] = sorted(self.newbugs) excusedata["old-bugs"] = sorted(self.oldbugs) if self.forced: - excusedata["forced-reason"] = list(self.reason.keys()) + excusedata["forced-reason"] = sorted(list(self.reason.keys())) excusedata["reason"] = [] else: - excusedata["reason"] = list(self.reason.keys()) + excusedata["reason"] = sorted(list(self.reason.keys())) excusedata["is-candidate"] = self.is_valid return excusedata