split up firstColIsRowName and arrangeByRow

These really should be two different things, as a user could want to
arrange a table by row regardless of the first column.
fixes merge conflict