code: function arraySort (arr, iterate, context, STR_UNDEFINED) {
    if (arr) {
      if (iterate === STR_UNDEFINED) {
        return toArray(arr).sort(sortByDef)
      }
      var compares
      var list = arrayMap(arr, function (item) {
        return { data: item }
      })
      var sortPros = getSortPros(arr, list, iterate, context || this)
      var len = sortPros.length
      if (len) {
        while (len >= 0) {
          compares = sortMultis(len, compares)
          len--
        }
        list = list.sort(compares)
      }
      return arrayMap(list, baseExports.property('data'))
    }
    return []
  }
docs: 数组按属性值升序
  
  @param {Array} arr 数组
  @param {Function/String/Array} iterate 方法或属性
  @param {Object} context 上下文
  @return {Array}