I need some help with this structure. Is it possible to use both past simple and past perfect after "no sooner""? I mean are both sentences correct:
No sooner had I closed the front door than I realised that my keys were inside.
No sooner did I close the front door than I realised that my keys were inside.
1. No sooner had somebody done something than he did something.
2. No sooner did somebody do something than he did something.
Both styles are quite commonly used, but #1 would be better.