Node.insertBefore()
Use this method to insert a child node new at a position before an existing given child node old, under a parent N:
new
old
N
N.insertBefore(new, old)