static/js/logic.js
// Feature Sort Function (Largest to Smallest)
Feature Sort Function (Largest to Smallest)
Feature Sort Function ( Largest to Smallest )
function sortFeatures(a, b) {
    magA = a.properties.mag
    magB = b.properties.mag
    comparison = 0
    return ((magA < magB) ? 1 : -1)
}
function sortFeatures ( a , b ) { magA = a . properties . mag magB = b . properties . mag comparison = 0 return ( ( magA < magB ) ? 1 : - 1 ) }
Feature Sort Function (Largest to Smallest)
Feature Sort Function ( Largest to Smallest )