First thing to know is what the current matching is based on.
https://support.smallgiantgames.com/hc/en-us/articles/360001566714-Alliance-Wars-Change-Log
Since June 1, published matching is based on:
- The best five heroes in hero roster of each Alliance member
- Player count of the alliance
More info can be found here.