Upvote:2
Don't book that flight without a UK Standard Visitor visa. You actually need a UK visa or an Irish visa endorsed BC BIVS to enter the UK traveling to Dublin. A transit visa is not good enough, as you have two stops in the Common Travel Area and must cross immigration in London.