In some cases components have to write to different parts of a page. With the current implementation you can only keep appending the page.
I've attached a new class, with which it should be possible to add subsinks to which you can write at any time.
Code might look like this
After flushing the basesink, subsinks will flush to the basesink.
Closing the basesink will close al subsinks as well.