How to I shuffle the order of the rows of a matrix? Here is a matrix for example:
1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18
I want to shuffle the order of the rows.
13 14 15 16 17 18
1 2 3 4 5 6
7 8 9 10 11 12
How can I do this in JavaScript?