React-instantsearch autocomplete multiple index

Hi, I was trying to use this example code in a project :

However In my project i need to search multiple indices, I know i am able to do something like this:

    <Index indexName="index1">
      <p>Results in first dataset</p>
      <Hits />
    </Index>
    <Index indexName="index2>
      <p>Results in second dataset</p>
      <Hits />
    </Index>

The problem is that If i use it in this way results from index 1 will always show before index 2 instead of being mixed together.

Any help would be appreciated,

Thanks in advance