diff --git a/django/contrib/admin/templates/admin/base.html b/django/contrib/admin/templates/admin/base.html
index 5d90bea54e..0a70e3636f 100644
--- a/django/contrib/admin/templates/admin/base.html
+++ b/django/contrib/admin/templates/admin/base.html
@@ -12,15 +12,15 @@
{% endif %}
+{% block extrastyle %}{% endblock %}
{% if LANGUAGE_BIDI %}{% endif %}
+{% block extrahead %}{% endblock %}
{% block responsive %}
{% if LANGUAGE_BIDI %}{% endif %}
{% endblock %}
{% block blockbots %}{% endblock %}
-{% block extrastyle %}{% endblock %}
-{% block extrahead %}{% endblock %}