there is a mutiple dimension data, like this:
[
[
[0, 1, 2, 3, 4],
[5, 6, 7, 8, 9]
],
[
[10, 11, 12, 13, 14],
[15, 16, 17, 18, 19]
],
[
[20, 21, 22, 23, 24],
[25, 26, 27, 28, 29]
]
]
i want to transform to this:
[
[
[25, 26, 27, 28, 29],
[20, 21, 22, 23, 24]
],
[
[15, 16, 17, 18, 19],
[10, 11, 12, 13, 14]
],
[
[5, 6, 7, 8, 9],
[0, 1, 2, 3, 4]
]
]
how to do?