lib/util-x.js
function defaultComparison(left, right) {
        var leftS = $toString(left),
            rightS = $toString(right),
            val = 1;

        if (leftS === rightS) {
            val = +0;
        } else if (leftS < rightS) {
            val = -1;
        }

        return val;
    }
function defaultComparison(left, right) {
        var leftS = $toString(left),
            rightS = $toString(right),
            val = 1;

        if (leftS === rightS) {
            val = +0;
        } else if (leftS < rightS) {
            val = -1;
        }

        return val;
    }
function defaultComparison ( left , right ) { var leftS = $toString ( left ) , rightS = $toString ( right ) , val = 1 ; if ( leftS === rightS ) { val = + 0 ; } else if ( leftS < rightS ) { val = - 1 ; } return val ; }
Default compare function for stableSort.
@private
@function defaultComparison
@param {*} left
@param {*} right
@returns {number}
Default compare function for stableSort .