Use move-window for window dragging instead of a loop and swap-window. When using -a or -b (i.e. after or before) the target can be occupied and the windows are reordered automatically.
kawase
dual_kawase
--no-merges
gl
grep
~/media/