BA 1477 then BA 892 at Heathrow
Glasgow → London → Sofia
Timetable, London time
12:30BA 1477 from Glasgow at the gate
11:10BA 892 to Sofia leaves the gate
22 h 40 apart on the timetable, overnight
BA 892 leaves 22 h 40 after BA 1477 arrives on the timetable: more than half a day, so not a connection we count.