diff --git a/songbook/src/obj/Song.py b/songbook/src/obj/Song.py index 8301444..4ae77ca 100644 --- a/songbook/src/obj/Song.py +++ b/songbook/src/obj/Song.py @@ -44,6 +44,9 @@ def expandedSections(self): else: sections.append(section) return sections + + def __lt__(self, other: Song): + return self.title < other.title @property def linkedTitle(self) -> str: