title: insert into an array if value is not found
body: <p>I have an array built like this:</p>
  
  <pre><code>test[0].age = "15-24"; test[0].value= "5";
  
  test[1].age = "45-54"; test[1].value= "10";
  </code></pre>
  
  <p>etc</p>
  
  <p>I have another array built like this:</p>
  
  <pre><code>ageRange[0] = "1-14";
  
  ageRange[1] = "15-24";
  </code></pre>
  
  <p>etc</p>
  
  <p>The ageRange has all age ranges - and the test array only has some of them.</p>
  
  <p>I want to rebuild the test array to include all ages of the ageRange array and if they aren't already in the array, assign them a value of 0. What is the best way of doing this? Also - they need to be sequentially added.</p>