BA 1495 then BA 892 at Heathrow
Glasgow → London → Sofia
Timetable, London time
14:15BA 1495 from Glasgow at the gate
11:10BA 892 to Sofia leaves the gate
20 h 55 apart on the timetable, overnight
BA 892 leaves 20 h 55 after BA 1495 arrives on the timetable: more than half a day, so not a connection we count.