There are other, sometimes better, reasons to make financial decisions than simply maximising a theoretical return.
Generally, reducing expensive debt and maximising all available tax efficiencies will result in the greatest wealth accumulation over time. Right now, this usually means the first spare £60k goes into a pension, the second £60k goes into a spouse's pension (if you trust them ... see Shawshank Redemption for context). The next tranche goes into paying down high cost debt, and once debt-free the remainder goes into speculative, risky investments like stocks and shares. But in this scenario, you a) already have a six figure surplus each year and b) probably don't need advice from MN
Each financial product will have its rules and charges. For example, you can only put £20k into an ISA each year. Miss that window, and you lose that tax-sheltered wrapper for that wealth forever. So it might be better to put £20k into an ISA than to overpay a mortgage, even if the mortgage interest is a percent or two higher than the returns you expect from the stock market - especially if you intend to build up your ISAs for 20 or 30 years. Alternatively your mortgage may have annual limits on overpayments or punitive ERCs, so again if you miss a window you may be exposed to greater risk from changes in interest rates or differing LTV ratios later on if you decide to move or remortgage. So it may be better to overpay when permitted, even if you are currently paying a relatively low interest rate.
But the biggest factor is psychological. Being debt free is much, much more satisfying than owning a share portfolio that is 20% higher or lower on any given day. Firstly, because that fluctuation is built-in and almost impossible to tie down to any decision you made, but mainly because reducing your mortgage to zero frees you from a liability entirely - whereas having a bigger or smaller stash is just a variation in an amount. I would always pay down debt as fast as I can, even if it isn't the optimum financial strategy. It is an emotional win when the balance ticks down to zero. That last £, when paid off, is worth more than even tens of thousands in the bank.