TRACE: write output in the correct sequence.

Signed-off-by: bert <bert.timmerman@xs4all.nl>