0

I have the following PHP Array

[["2", "100"], ["4", "300"], ["8", "40"], ["1", "2"], ["25", "940"], etc.]

How can I sort this Array DESC by the second value to get an Output like

[["25", "940"], ["4", "300"], ["2", "100"], ["8", "40"], ["1", "2"], etc.]
Pascalus
  • 7
  • 3

0 Answers0