diff --git a/mamweb/admin.py b/mamweb/admin.py index aa93d11a..9c421309 100644 --- a/mamweb/admin.py +++ b/mamweb/admin.py @@ -38,11 +38,11 @@ def get_app_list(self, request): app_dict = self._build_app_dict(request) # Sort the apps alphabetically. - app_list = sorted(app_dict.values(), key=lambda x: locale.strxfrm('0') if (x['name'] == "Seminar") else locale.strxfrm(x['name'].lower())) + app_list = sorted(app_dict.values(), key=lambda x: locale.strxfrm('!') if (x['name'] == "Seminar") else locale.strxfrm(x['name'].lower())) # Sort the models alphabetically within each app. for app in app_list: - app['models'].sort(key=lambda x: locale.strxfrm(x['name'].lower())) + app['models'].sort(key=lambda x: locale.strxfrm('ΕΎΕΎ' + x['name'].lower()) if (x['name'].endswith("(Node)")) else locale.strxfrm(x['name'].lower())) return app_list