public compareDocumentPosition(other as Node) as Int throws DOMException
Compares document order with another node.
DOM document-position flags.
flags = node.compareDocumentPosition(other)