Interface to swap rows between two tables