title: Set ordering of Apps and models in Django admin dashboard
body: <p>By default, the Django admin dashboard looks like this for me:</p>
  
  <p><a href="https://i.stack.imgur.com/NXXw0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NXXw0.png" alt="enter image description here"></a></p>
  
  <p>I want to change the ordering of models in <code>Profile</code> section, so by using codes from <a href="https://stackoverflow.com/a/30056258/1283836">here</a> and <a href="https://books.agiliq.com/projects/django-admin-cookbook/en/latest/set_ordering.html" rel="nofollow noreferrer">here</a> I was able to change the ordering of model names in Django admin dashboard:</p>
  
  <pre><code>class MyAdminSite(admin.AdminSite):
      def get_app_list(self, request):
          """
          Return a sorted list of all the installed apps that have been
          registered in this site.
          """
          ordering = {
              "Users": 1,
              "Permissions": 2,
              "Activities": 3,
          }
          app_dict = self._build_app_dict(request)
          # a.sort(key=lambda x: b.index(x[0]))
          # Sort the apps alphabetically.
          app_list = sorted(app_dict.values(), key=lambda x: x['name'].lower())
  
          # Sort the models alphabetically within each app.
          for app in app_list:
              app['models'].sort(key=lambda x: ordering[x['name']])
  
          return app_list
  
  mysite = MyAdminSite()
  admin.site = mysite
  sites.site = mysite
  </code></pre>
  
  <p>new look and feel:</p>
  
  <p><a href="https://i.stack.imgur.com/At1yP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/At1yP.png" alt="enter image description here"></a></p>
  
  <p>But as you see, I have lost the <code>AUTHENTICATION AND AUTHORIZATION</code> section; What should I do to have all the sections and at the same time have my own custom ordering for <code>Profile</code> section?</p>