Fix buglet in call to sort() in email summary sending.