Recommended approach:
LHR-DUB - use Aer Lingus (don't screw you for one-ways on European Flights)
DUB - GLA - use Ryanair. But read the threads on them. You can get tripped up easily.
Caledonian Sleeper Google "Bargain Berths".
Welcome to the UK and Ireland!