Make reorder by row and reorder by column totally separate.

We'll need to call these directly during undo and redo which is yet to
be worked on.

Change-Id: I2607c370358e1fd21eb9e283567c0be4c7731a48