title: Compare two json data array objects
body: <p>One JSON object contains an array of Ids and one contains array of arrays with id and title in each array. Here are my two JSON data formats....</p>
  
  <p>First JSON Data : </p>
  
  <pre><code>json1 : [
          "123",
          "456",
          "789"
  ]
  </code></pre>
  
  <p>Second JSON Data : </p>
  
  <pre><code>json2 : [
      [
          "789",
          "Title3"
      ],
      [
          "456",
          "Title2"
      ],
      [
          "123",
          "Title1"
      ]
  ]
  </code></pre>
  
  <p>So compare order of IDs of above two JSON data, need to create a new JSON data with title name. So the final JSON should be following like these....</p>
  
  <p>Final Output : </p>
  
  <pre><code>[
      'Title1',
      'Title2',
      'Title3'
  ]
  </code></pre>
  
  <p>Please suggested me.</p>