diff --git a/xkcd.py b/xkcd.py index 992e560..9b796fb 100644 --- a/xkcd.py +++ b/xkcd.py @@ -102,7 +102,7 @@ def __init__(self, id: int, title: str, alt: str, transcript: str) -> None: self.transcript = transcript def __lt__(self, other: 'XKCDIndex') -> bool: - return self.id < other.id + return self.id > other.id def __gt__(self, other: 'XKCDIndex') -> bool: return self.id < other.id