We don't actually need to sort, as .children returns them as
they appear on-screen. They looked unsorted before
because of the copycut and pasting, but this will not be a
problem here as the content is just created.