org-list-swap-items

org-list-swap-items is a compiled Lisp function in `org-list.el'.

(org-list-swap-items BEG-A BEG-B STRUCT)

Swap item starting at BEG-A with item starting at BEG-B in STRUCT.

Blank lines at the end of items are left in place. Item
visibility is preserved. Return the new structure after the
changes.

Assume BEG-A is lesser than BEG-B and that BEG-A and BEG-B belong
to the same sub-list.

This function modifies STRUCT.