This can just be `.sort(function(a, b) { return results[b].length - results[a].length })`, right?