make sure affiliates are ordered alphabetically