The major product obtained is
The intermediate is dianion, hence the dianion in trans position is very stable, hence the sequence is