always sort references alphabetically