How to sort an array of array based on a id

后端 未结 0 447
眼角桃花
眼角桃花 2021-02-04 11:04

How to sort array of array based on id. This is how the Input is

[ 
    [ { id: 14},{ id: 15},{ id: 17} ],
    [ { id: 4},{ id: 71} ], 
    [ { id: 25},{ id: 26},         


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