Reorder output messages