transpose-lines

transpose-lines is an interactive compiled Lisp function in `simple.el'.

It is bound to C-x C-t.

(transpose-lines ARG)

Exchange current line and previous line, leaving point after both.
With argument ARG, takes previous line and moves it past ARG lines.
With argument 0, interchanges line point is in with line mark is in.