Reordering of columns or rows in Indesign tables


is it possible to (ex)change the order of rows or columns of tables in Indesign documents?
Of course it’s possible to exchange the contents of the appropriate cells, but this
affects only the raw text and doesn’t consider any formatting.

Hi Stefan,
You can also apply styles to the text with this code:

tell application "Adobe InDesign CS4"
	tell active document -- or tell document 1
		set theStyle to paragraph style "your_style_name"
		--setting the paragraph style
		tell text of cell 12 of table 1 of story 2 --you'll want to change these numbers to reflect your document
			apply paragraph style using theStyle
		end tell
	end tell
end tell