diff --git a/doc/api.rst b/doc/api.rst
index 20f9fc88a366..8f6a180e8d47 100644
--- a/doc/api.rst
+++ b/doc/api.rst
@@ -520,16 +520,16 @@ Standard Library Types Formatting
 
 ``fmt/std.h`` provides formatters for:
 
+* `std::atomic <https://en.cppreference.com/w/cpp/atomic/atomic>`_
+* `std::atomic_flag <https://en.cppreference.com/w/cpp/atomic/atomic_flag>`_
+* `std::bitset <https://en.cppreference.com/w/cpp/utility/bitset>`_
+* `std::error_code <https://en.cppreference.com/w/cpp/error/error_code>`_
 * `std::filesystem::path <https://en.cppreference.com/w/cpp/filesystem/path>`_
-* `std::thread::id <https://en.cppreference.com/w/cpp/thread/thread/id>`_
 * `std::monostate <https://en.cppreference.com/w/cpp/utility/variant/monostate>`_
-* `std::variant <https://en.cppreference.com/w/cpp/utility/variant/variant>`_
 * `std::optional <https://en.cppreference.com/w/cpp/utility/optional>`_
 * `std::source_location <https://en.cppreference.com/w/cpp/utility/source_location>`_
-* `std::bitset <https://en.cppreference.com/w/cpp/utility/bitset>`_
-* `std::error_code <https://en.cppreference.com/w/cpp/error/error_code>`_
-* `std::atomic <https://en.cppreference.com/w/cpp/atomic/atomic>`_
-* `std::atomic_flag <https://en.cppreference.com/w/cpp/atomic/atomic_flag>`_
+* `std::thread::id <https://en.cppreference.com/w/cpp/thread/thread/id>`_
+* `std::variant <https://en.cppreference.com/w/cpp/utility/variant/variant>`_
 
 Formatting Variants
 -------------------