diff --git a/src/library/title.cr b/src/library/title.cr index 4d918b6..22f75d3 100644 --- a/src/library/title.cr +++ b/src/library/title.cr @@ -299,7 +299,8 @@ class Title end sorter = ChapterSorter.new @entries.map { |e| e.title } ary = @entries.sort do |a, b| - sorter.compare a.title, b.title + sorter.compare(a.title, b.title).or \ + compare_numerically a.title, b.title end end