Sort array based on nested object value

前端 未结 0 1431
星月不相逢
星月不相逢 2020-12-19 00:59

I\'m trying to create a function that sorts an array based on a nested object value.

const customers = [
  {
    name: \'John\',
    displayOrder: [{ route1:          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题