function multiresNodeRenderSort(a, b) {
        // Lower zoom levels first
        if (a.level != b.level) {
            return a.level - b.level;
        }
        
        // Lower distance from center first
        return a.diff - b.diff;
    }
function multiresNodeRenderSort(a, b) {
        // Lower zoom levels first
        if (a.level != b.level) {
            return a.level - b.level;
        }
        
        // Lower distance from center first
        return a.diff - b.diff;
    }
function multiresNodeRenderSort ( a , b ) { // Lower zoom levels first if ( a . level != b . level ) { return a . level - b . level ; } // Lower distance from center first return a . diff - b . diff ; }
Sorting method for multires node rendering.
@private
@param {MultiresNode} a - First node.
@param {MultiresNode} b - Second node.
@returns {number} Lower zoom levels first, then closest to center first.
Sorting method for multires node rendering .