4
I gave a search through the internet and did not find answer for this my problem. Imagine that you have arrays stacked. For example:
var array = [[[1, 2], [3, 4]], [[[5, 6], [7, 8]], [9, 10]]];
What I would like to do is take the smallest possible arrays and sort them within just one array. So:
array = [[1, 2], [3, 4], [5, 6], [7, 8], [9, 10]];
Can you help me?