Fixed #21425 -- Made order in which loggers are introduced consistent.

Thanks oubiga for the suggestion.