How to sort a 2-D Array according to the highest value in row

前端 未结 0 878
广开言路
广开言路 2021-01-13 18:08

I am looking to sort an array of high scores, stored in a 2d array structured like this:

[name 1][score 1]
[name 2][score 2]
[name 3][score 3]
[name 4][score          


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