js对对象数组中的中文字段进行排序

// 排序
      this.Data.sort((a, b) => {
        return a.legend.localeCompare(b.legend)
      })
原文地址:https://www.cnblogs.com/alt-fsh/p/14155041.html