So this is the index of the first element after the first li sibling of newLi, right?

How about the name `indexAfterFirstLiSibling` and we change `$sourceLI` to `$firstLiSibling`?