diff --git a/redash/handlers/data_sources.py b/redash/handlers/data_sources.py index ef894f10af..354f2c27d6 100644 --- a/redash/handlers/data_sources.py +++ b/redash/handlers/data_sources.py @@ -100,7 +100,7 @@ def get(self): 'object_id': 'admin/data_sources', 'object_type': 'api_call', }) - return sorted(response.values(), key=lambda d: d['id']) + return sorted(response.values(), key=lambda d: d['name']) @require_admin def post(self):