I have an array with subarrays and wish to sort numerically and descending by the first item in the subarrays. So for example, I wish to take the following array"
array = [[2,text],[5,text],[1,text]]
and sort it to become
array = [[5,text],[2,text],[1,text]]
Is there any simple function to use? Thanks!