Lets say i have the following unordered list
Hank Alice
i played around with the fiddle No Surprises has made, and extended the code for swapping two arbitrary sets of elements (the only restriction being they must directly follow each other).
see here: http://jsfiddle.net/ZXYZ3/139/