A
B
C
← ここにあった B C が 2番目に移動
A
B
C
← ここにあった A B が 4番目に移動
A
C
after(文字列)
A
after([DOM, jQuery])
A
C
before(文字列)
C
before(jQuery, DOM)