Clash of clans wars
No, the layout of your base does not effect your ranking in war.
Your war ranking is dependent on your buildings and soon it will also be dependent on troops as well.
There is no way the game could calculate what is a better bases and therefore no way it could rank this. Plus, people change their base during war prep all the time but it can not effecting their ranking.