diff --git a/app/corpora/forms.py b/app/corpora/forms.py
index b11d5ef6cefb56198fb655352f2654518b13137d..27844d1810e9895e820b5919e887cef308096903 100644
--- a/app/corpora/forms.py
+++ b/app/corpora/forms.py
@@ -11,7 +11,7 @@ class AddCorpusFileForm(FlaskForm):
     chapter = StringField('Chapter', validators=[Length(0, 255)])
     editor = StringField('Editor', validators=[Length(0, 255)])
     file = FileField('File', validators=[DataRequired()])
-    institution = StringField('institution', validators=[Length(0, 255)])
+    institution = StringField('Institution', validators=[Length(0, 255)])
     journal = StringField('Journal', validators=[Length(0, 255)])
     pages = StringField('Pages', validators=[Length(0, 255)])
     publisher = StringField('Publisher', validators=[Length(0, 255)])
diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2
index c4db01b4cd3c60d924b7116a6b31ede1c65573d5..70a8e935ee81dc5738c2d2d0677b509707209270 100644
--- a/app/templates/jobs/job.html.j2
+++ b/app/templates/jobs/job.html.j2
@@ -177,6 +177,7 @@
 
       for (let operation of patch) {
         /* "/jobId/valueName" -> ["jobId", "valueName"] */
+        console.log(operation.value);
         pathArray = operation.path.split("/").slice(1);
         if (pathArray[0] != this.jobId) {continue;}
         switch(operation.op) {
@@ -215,9 +216,18 @@
 
     setResults(results) {
       let resultsElement;
-
+      results.sort(function (a, b) {
+        var filenameA = a.filename.toUpperCase();
+        var filenameB = b.filename.toUpperCase();
+        if (filenameA < filenameB) {
+          return -1;
+        }
+        if (filenameA > filenameB) {
+          return 1;
+        }
+        return 0;
+      });
       resultsElement = document.getElementById("results");
-
       for (let result of results) {
         resultsElement.insertAdjacentHTML(
           "beforeend",