Once you know which rows need to be exchanged... just move the whole row in a loop...
One trick, although it's a bit more code... Make your "index row" (0?) a separate array of structs with...
Type: Posts; User: CommonTater
Once you know which rows need to be exchanged... just move the whole row in a loop...
One trick, although it's a bit more code... Make your "index row" (0?) a separate array of structs with...
Let me guess... it sorts column 0 but disconnectes it from column[i] in the process....
This is the fun part about 2d or 3d matrixes... if you want to keep the rows intact you have to shuffle the...