title: What is the order of Component.onCompleted in a QML file with many items?
body: <p>For example, consider the code below:</p>
  
  <pre><code>Rectangle {
      id: idRectParent
  
      Rectangle {
          id: idRectChild1
          component.onCompleted: {
              console.log("Iam Child 1")
          }
      }
  
      Rectangle {
          id: idRectChild2
          component.onCompleted: {
              console.log("Iam Child 2")
          }
      }
  
      component.onCompleted : {
          console.log("Iam parent Rect")
      }
  }
  </code></pre>
  
  <p>I'm getting the output below if I run it in <code>qmlscene</code> (I have tried almost 50 times).</p>
  
  <pre><code>Iam parent Rect
  Iam Child 2
  Iam Child 1
  </code></pre>
  
  <p>Why is the output in the above order, instead of:</p>
  
  <pre><code>Iam parent Rect
  Iam Child 1
  Iam Child 2
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Iam Child 1
  Iam Child 2
  Iam parent Rect
  </code></pre>
  
  <p>or any other combination.</p>