diff --git a/src/allmende_payment_system/api/__init__.py b/src/allmende_payment_system/api/__init__.py index 770c88b..54d1d9f 100644 --- a/src/allmende_payment_system/api/__init__.py +++ b/src/allmende_payment_system/api/__init__.py @@ -21,7 +21,7 @@ async def landing_page( focused_account = account transactions += account.transactions - transactions = sorted(transactions, key=lambda t: t.timestamp) + transactions = sorted(transactions, key=lambda t: t.timestamp, reverse=True) return templates.TemplateResponse( "index.html.jinja", context={