I created a log 'PreBuild log' in log manager (1st picture), it is created in the last position.
Mouse I can move forward 'Build log' (2nd picture).
How do the same operation by program?
I have already consulted
Quote'loggers.h'
'logger.h'
'logmanager.h'
'infopane.h
....
but I have not found an answer.
You can't and you shouldn't.
It is up to the user to decide how to arrange them.
Unfortunately there is a bug in the code that remembers the order of the tabs, I've not tried to find how to reproduce reliably.