siblingCheck Causes Unresponsive Script Message in IE8

siblingCheck Causes Unresponsive Script Message in IE8

In IE8 when there a lot of siblings, the while loop within causes the unresponsive script message.

I am seeing this when it is called from within sortOrder.

Since IE8 does not support compareDocumentPosition, sortOrder is defined to make calls to siblingCheck