Fix sorting by name instead of object.

parent 000d0f17
......@@ -569,7 +569,9 @@ $(document).ready(function () {
"name": feature.properties.OrganizationName,
}
});
return organizations.sort();
return organizations.sort(function(a,b){
return a.name > b.name;
});
}
}
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment