Sort the list of aliases