diff --git a/mozilla/webtools/litmus/js/ManageSubgroups.js b/mozilla/webtools/litmus/js/ManageSubgroups.js
index 36434fa8d82..5ec9d90c80b 100644
--- a/mozilla/webtools/litmus/js/ManageSubgroups.js
+++ b/mozilla/webtools/litmus/js/ManageSubgroups.js
@@ -230,7 +230,7 @@ function populateAllTestcases() {
}
}
- var optionText = testcases[i].testcase_id + ': ' + testcases[i].summary;
+ var optionText = testcases[i].summary + ' (' + testcases[i].testcase_id + ')';
selectBoxAll.options[selectBoxAll.length] = new Option(optionText,
testcases[i].testcase_id);
diff --git a/mozilla/webtools/litmus/js/SelectSort.js b/mozilla/webtools/litmus/js/SelectSort.js
index 22158a96908..8d2c426bfd4 100644
--- a/mozilla/webtools/litmus/js/SelectSort.js
+++ b/mozilla/webtools/litmus/js/SelectSort.js
@@ -366,3 +366,14 @@ function copyToList(from,to)
}
}
}
+
+function sortSelect(formName,title,selectID,index,num) {
+ disableForm(formName);
+ rv = toggleMessage('loading','Sorting ' + title + ' list...');
+ rv = confirm("Depending on the number of " + title + ", this can take a little while during which time the browser may be unresponsive. Proceed with sorting?")
+ if (rv) {
+ listSort(selectID,index,num,0);
+ }
+ rv = toggleMessage('none');
+ enableForm(formName);
+}
\ No newline at end of file
diff --git a/mozilla/webtools/litmus/templates/en/default/admin/edit_subgroup.tmpl b/mozilla/webtools/litmus/templates/en/default/admin/edit_subgroup.tmpl
index a960c1d6395..712086a7fc5 100644
--- a/mozilla/webtools/litmus/templates/en/default/admin/edit_subgroup.tmpl
+++ b/mozilla/webtools/litmus/templates/en/default/admin/edit_subgroup.tmpl
@@ -100,11 +100,20 @@