No, that's exactly what you're trying to accomplish.
You're already got a headway interruption. Both buses are arriving at stops after a longer-than-usual interval. That means there are more passengers waiting.
You've put the empty bus ahead of the full one. It picks up the waiting passengers.
The full bus trails, briefly, it discharges passengers, but loads none (or at worst, a very few).
This continues either to the end of the line (at which point regular headways are once again established), or, possibly, until the lead bus becomes full. At that point, you might swap positions, but only then.
If you were to put the full bus in the lead because it was "getting delayed", you'd only re-create the problem you initially had: of a full bus trying to load and unload passengers, which happens much more slowly than for an empty bus, while the less loaded bus that can accomplish loadings/unloadings faster trails behind.
Your letting the trailing, full bus lead doesn't save time.
Well, I guess you can't make it much better than your method anyway, and it does have the advantage that people will see both buses arrive at nearly the same time, so there's that.
You're already got a headway interruption. Both buses are arriving at stops after a longer-than-usual interval. That means there are more passengers waiting.
You've put the empty bus ahead of the full one. It picks up the waiting passengers.
The full bus trails, briefly, it discharges passengers, but loads none (or at worst, a very few).
This continues either to the end of the line (at which point regular headways are once again established), or, possibly, until the lead bus becomes full. At that point, you might swap positions, but only then.
If you were to put the full bus in the lead because it was "getting delayed", you'd only re-create the problem you initially had: of a full bus trying to load and unload passengers, which happens much more slowly than for an empty bus, while the less loaded bus that can accomplish loadings/unloadings faster trails behind.
Your letting the trailing, full bus lead doesn't save time.
Play with the sim here and see what happens.