title: List injection order in Spring IoC container
body: <p>Suppose I'm injecting list of some beans:</p>
  
  <pre><code>@Autowired
  List&lt;SomeBean&gt; beans;
  </code></pre>
  
  <p>What is default injection order in this situation?</p>
  
  <p>I know about <code>Ordered</code> interface and <code>@Order</code> annotation, I'm asking only about default behavior. </p>
  
  <p>What I've noticed is that in case of manual bean registration:</p>
  
  <pre><code>context.register(SomeBeanA.class);
  context.register(SomeBeanB.class);
  context.register(SomeBeanC.class);
  </code></pre>
  
  <p>This beans is injected in the exact same order as I registered them: 1 element in list is SomeBeanA, 2 — SomeBeanB, 3 — SomeBeanC. </p>
  
  <p>Is there is any guarantee of this behavior? I mean can I be sure that it won't change in further release?</p>
  
  <p>Thanks.</p>