FIX. forgot to add sort for affiliations