title: ArrayList is changing index order after copying content of a JSON object
body: <p>Lets say that I have a JSON object called fruits and this is the content of it:</p>
  
  <pre><code>"fruits":[{
      "name":"natural_one", 
      "kind"{
          0:"apple",
          1:"banana",
          2:"pear"
      }
  }];
  </code></pre>
  
  <p>And when I copy the content of the JSONObject in a new ArrayList, the index order changes like the example here below:</p>
  
  <pre><code>"fruits":[{
      "kind"{
          1:"banana",
          2:"pear",
          0:"apple"
      },
      "name":"natural_one"
  }];
  </code></pre>
  
  <p>What do I do to prevent changing index order when copying content takes place?</p>