Don't assume sorted elements are its children