function insertChildSortedById(parent, child)
        {
            for (var sibling = parent.firstElementChild; sibling; sibling = sibling.nextElementSibling) {
                if (sibling.id && sibling.id > child.id) {
                    parent.insertBefore(child, sibling);
                    return;
                }
            }
            parent.appendChild(child);
        }
@param {!Element} parent
@param {!Element} child