Skip to content
Snippets Groups Projects
Commit 33d75c1f authored by deuce's avatar deuce
Browse files

More sort fun.

parent 67cd9fbc
No related branches found
No related tags found
No related merge requests found
......@@ -421,9 +421,7 @@ function compressList(list)
}
function sortListByProperty(list,prop)
{
var data=compressList(list);
return data.sort(function(a,b) {
return compressList(list).sort(function(a,b) {
if(a[prop] < b[prop])
return -1;
if(a[prop] > b[prop])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment