I have an array with this structure:
myArray = [ [<number>, [<string>] ], [<number>, [<string>] ], ... ];
I'd like to sort the array according to the ints. Unfortunately, when I call .sort() on myArray it returns me an array sorted according to the strings. How could I solve this?