I have an array like this:
[ ["5", "France", "Paris", "..."], ["7", "UK", "London"], ["1", "..."], ["8", "..."] ]
Now I need to sort this one array so that the individual entries are in order like this:
[ ["1", "..."], ["5", "France", "Paris"], ["7", "UK", "London"], ["8", "..."] ]
How would I go about that in PHP?
The other answer that @YourCommonSense is referring to does it in Java and not in PHP