title: JAXB UnMarshall Collection element order
body: <p>lets say i have the following XML</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;names&gt;
      &lt;name first="John" last="Doe"/&gt;
      &lt;name first="Jane" last="Doe"/&gt;
      ...
  &lt;/names&gt;
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>final JAXBContext context = JAXBContext.newInstance(Names.class);
  final Unmarshaller um = context.createUnmarshaller();
  final InputStream in = new FileInputStream(file);
  final Reader reader = new InputStreamReader(in, Charset.forName("UTF-8"));
  final Names namesList = (Names) um.unmarshal(reader);
  ...
  </code></pre>
  
  <p>Now i could not find any documentation describing in which order these elements will be.
  In my application it is important that the order which is in my XML file will be the same in the java object. I tried to look it up in the source but it was very difficult to understand. I hope somebody can help me on this one. Thanks.</p>
  
  <p>kuku</p>