sort outer array based on values in inner array, javascript

后端 未结 3 1990
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 10:02

I have an array with arrays in it, where I want to sort the outer arrays based on values in a specific column in the inner.

I bet that sounded more than a bit confus

3条回答
  •  自闭症患者
    2020-11-29 10:29

    Here used to be a sort implementation that returned the result of a simple x comparison. This solution is disencouraged and this post is left only to preserve the ensuing discussion.

提交回复
热议问题