title: Getting data synchronously using map and dataservice
body: <p>I'm trying to map through some data, and call dataservice with the data. The problem is, i give the dataservice mapped data ID in order, but I received them differently, because the response time for both ID are different. Example:</p>
  <pre><code>// forms = [3, 133]
    forms.map((formId, index) =&gt; {
          // I give the ID's like this - 3, 133
          dataService.getApplianceModelData(formId).then((data) =&gt; {
          // I receive the data like this - [133 data], [3 data]
  </code></pre>
  <p>I thought the map method is synchronous, but i receive the data asynchronouosly?
  The dataservices that is called:</p>
  <pre><code>  async getApplianceModelData(id) {
      const { data } = await axios.get(
        &quot;/api/1/hardware/appliance_models/&quot; + id + &quot;/&quot;,
        {}
      );
      return data;
    }      
  </code></pre>
  <p>I want to get data like i input it (synchronous), if i map through 3, 133, i want to get first 3 data, and then 133 data. Any advice?</p>