Sort by degree.