sort packages; add more missing ones.