Added sorting of specialties