Added sorting to medicine details page.