javascript exchange row/col/tr/td of table
var tb = document.getElementById("tableid");
tb.moveRow(2,1)
tb.moveRow(2,1)

Yes, it is FF only.