diff --git a/iwla.py b/iwla.py index e577b31..325b06d 100755 --- a/iwla.py +++ b/iwla.py @@ -437,7 +437,7 @@ class IWLA(object): last_update = 'Last update %s
' % (time.strftime('%02d %b %Y %H:%M', time.localtime())) page.appendBlock(self.display.createBlock(DisplayHTMLRaw, last_update)) - for year in self.meta_infos['stats'].keys(): + for year in sorted(self.meta_infos['stats'].keys(), reverse=True): self._generateDisplayMonthStats(page, year, self.meta_infos['stats'][year]) self.display.addPage(page)