diff --git a/src/root/edit-jobset.tt b/src/root/edit-jobset.tt
index 30b9a4c9..7dd910ee 100644
--- a/src/root/edit-jobset.tt
+++ b/src/root/edit-jobset.tt
@@ -47,7 +47,7 @@
| Input name | Type | Value | Notify committers |
- [% inputs = createFromEval ? eval.jobsetevalinputs : jobset.jobsetinputs; FOREACH input IN inputs %]
+ [% inputs = createFromEval ? eval.jobsetevalinputs : jobset.jobsetinputs; FOREACH input IN inputs.sort('name') %]
[% INCLUDE renderJobsetInput input=input baseName="input-$input.name" %]
[% END %]
diff --git a/src/root/jobset.tt b/src/root/jobset.tt
index 283d1a25..38eb4559 100644
--- a/src/root/jobset.tt
+++ b/src/root/jobset.tt
@@ -33,7 +33,7 @@
Input name | Type | Values |
- [% FOREACH input IN jobset.jobsetinputs %]
+ [% FOREACH input IN jobset.jobsetinputs.sort('name') %]
[% INCLUDE renderJobsetInput input=input baseName="input-$input.name" %]
[% END %]