MOB-2275 Calculate background color for map tiles' sets

Array.prototype.sort() (https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) can be used here: `results.sort(function(a, b) {return a['count'] - b['count'];})`