lib/inch/evaluation/file.rb in inch-0.2.2 vs lib/inch/evaluation/file.rb in inch-0.2.3
- old
+ new
@@ -19,10 +19,10 @@
# grade, priority, and score are not meant to be displayed in the CLI
# they are just for internal evaluation purposes
#
def grade
- median(grades.sort)
+ median(grades.sort_by(&:to_sym))
end
def priority
median(priorities.sort)
end