pre-sort by title to take advantange of stable sort; watch for null date

This commit is contained in:
2017-05-16 21:57:29 -04:00
parent 4f4c557fd6
commit 1842828ec6
2 changed files with 2 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
}
function renderTable(data, sortField) {
data = _.sortBy(data, 'title');
data = _.sortBy(data, sortField);
$.each(data, function(key, value) {