diff --git a/fs2zammad b/fs2zammad index 72adaca..a7d1639 100755 --- a/fs2zammad +++ b/fs2zammad @@ -272,6 +272,7 @@ os.makedirs("failed", exist_ok=True) ticket_ids = os.listdir("tickets/") print(f"Found {len(ticket_ids)} tickets on filesystem.") +ticket_ids.sort() for id in ticket_ids: try: create_zammad_ticket(id, zammad, h2t, 3)