NetLogo 7.0.0-beta2:

matrix:swap-rows

matrix:swap-rows matrix row1 row2

Changes the given matrix matrix by swapping the rows at row1 and row2 with each other.

Take me to the full Matrix Extension Dictionary