diff --git a/doc/api/errors.md b/doc/api/errors.md
index f479d06f1456fb..2ba78a95cf2550 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -763,14 +763,6 @@ to enable or disable FIPS mode in the `crypto` module.
An attempt was made to enable or disable FIPS mode, but FIPS mode was not
available.
-
-### ERR_CRYPTO_HASH_DIGEST_NO_UTF16
-
-The UTF-16 encoding was used with [`hash.digest()`][]. While the
-`hash.digest()` method does allow an `encoding` argument to be passed in,
-causing the method to return a string rather than a `Buffer`, the UTF-16
-encoding (e.g. `ucs` or `utf16le`) is not supported.
-
### ERR_CRYPTO_HASH_FINALIZED
@@ -2070,6 +2062,18 @@ removed: v11.12.0
There was an attempt to use a `MessagePort` instance in a closed
state, usually after `.close()` has been called.
+
+### ERR_CRYPTO_HASH_DIGEST_NO_UTF16
+
+
+The UTF-16 encoding was used with [`hash.digest()`][]. While the
+`hash.digest()` method does allow an `encoding` argument to be passed in,
+causing the method to return a string rather than a `Buffer`, the UTF-16
+encoding (e.g. `ucs` or `utf16le`) is not supported.
+
### ERR_HTTP2_FRAME_ERROR