How are clan war positions determined when identical bases are present in war?

How are clan war positions determined when there are 2 or more bases having everything upgraded like defense, walls, traps, troops and heroes to the maximum level of the particular tonwhall?

By this I mean that two bases which are exactly similar in respect of defense and troops, how will there position be in clan war? On what will that depend?


The Clan War positions are based on the strength of the base defense. This is calculated using things like amount of traps, walls, disposable troops etc.

Town hall is ignored when it comes to this, which is why someone with a level 6 Town Hall, could be higher ranked than a base with a level 7 Town hall.

But, in this situation which would have two bases with exactly the same defense, I would imagine that the algorithm would then move on to either the Town Hall level, or the XP level of the person.

Or, as Mehravish Temkar pointed out in the comments to this answer, it could go down to the amount of trophies or league that the user is placed in.