I have an array loading a list of games. Currently it is being sorted like this:
A B C
D E F
Now I would like to sort it like the following:
A D
B E
C F
How can I do this please? I have tried using chunk and even slice but no success.
Simple slice and transpose:
The each_slice(3) will need to be adjusted for the dimensions of the source array and final matrix.