diff --git a/python-astropy.spec b/python-astropy.spec
index 3c81c70..9433b74 100644
--- a/python-astropy.spec
+++ b/python-astropy.spec
@@ -112,10 +112,10 @@ BuildRequires:  pkgconfig(wcslib) >= 8.1
 %if %{with test}
 # SECTION [all]+[recommends]
 BuildRequires:  %{python_module Bottleneck}
-BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module asdf-astropy >= 0.3}
 BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module bleach}
+BuildRequires:  %{python_module dask-array}
 BuildRequires:  %{python_module fsspec >= 2023.4.0}
 BuildRequires:  %{python_module h5py}
 BuildRequires:  %{python_module html5lib}