Reorder MPI before output.