diff --git a/app/views/main.py b/app/views/main.py index da168d6..840a217 100644 --- a/app/views/main.py +++ b/app/views/main.py @@ -118,8 +118,8 @@ def user(userName): def routes(): routes = Route().list() - prefixes = set( - (r.prefix for r in routes.routes if not r.prefix.endswith('/0'))) + prefixes = sorted(set( + (r.prefix for r in routes.routes if not r.prefix.endswith('/0')))) exitNodes = [r.node for r in routes.routes if r.prefix.endswith( '0/0') and r.enabled]