diff --git a/admidio.py b/admidio.py index 61be7d5..6596e18 100644 --- a/admidio.py +++ b/admidio.py @@ -74,7 +74,8 @@ class Admidio: dat_headline, dat_description, dat_location, dat_country, dat_rol_id FROM {self.prefix}_dates - WHERE dat_begin >'{datestring}'""" + WHERE dat_begin >'{datestring}' + ORDER BY dat_begin""" self.cursor.execute(sql) for row in self.cursor.fetchall():