Sort package names.