libs/lodash.js
function baseCompareAscending(value, other) {
    if (value !== other) {
      if (value > other || typeof value == 'undefined') {
        return 1;
      }
      if (value < other || typeof other == 'undefined') {
        return -1;
      }
    }
    return 0;
  }
function baseCompareAscending(value, other) {
    if (value !== other) {
      if (value > other || typeof value == 'undefined') {
        return 1;
      }
      if (value < other || typeof other == 'undefined') {
        return -1;
      }
    }
    return 0;
  }
function baseCompareAscending ( value , other ) { if ( value !== other ) { if ( value > other || typeof value == 'undefined' ) { return 1 ; } if ( value < other || typeof other == 'undefined' ) { return - 1 ; } } return 0 ; }
The base implementation of `compareAscending` used to compare values and
sort them in ascending order without guaranteeing a stable sort.

@private
@param {*} value The value to compare to `other`.
@param {*} other The value to compare to `value`.
@returns {number} Returns the sort order indicator for `value`.
The base implementation of compareAscending used to compare values and sort them in ascending order without guaranteeing a stable sort .