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