Mediation is a far more cost-effective method to resolve your dispute. A solicitor will quote upwards of £20,000 plus VAT if your case goes to court for a full financial hearing.
In mediation you and your x partner make the decisions. If you go to court, you lose the ability to make your own choices.
https://www.citizensadvice.org.uk/family/how-to-separate1/mediation-to-help-you-separate