I have the only array:
[0, 1, 2, 3, 4, 5, 6, 7, 8]
The "first half" of array's data is [0,1,2,3,4] and the second is [5,6,7,8].
Now I should get something like this (it is not random mixing)
[0, 5, 1, 6, 2, 7, 3, 8, 4]
This is an array of data for two columns. I should place first half of data in first column, and the second one in second column.
I'm trying to find a simple solution... Thanks for advice!