Dictionary reordering of the emails