diff --git a/doc/api/errors.md b/doc/api/errors.md
index d0fadad28427a0..a98571edd61942 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1967,16 +1967,6 @@ category.
The `trace_events` module could not be loaded because Node.js was compiled with
the `--without-v8-platform` flag.
-
-### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
-
-A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
-or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
-cannot be serialized.
-
-This can only happen when native addons create `SharedArrayBuffer`s in
-"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
-
### `ERR_TRANSFORM_ALREADY_TRANSFORMING`
@@ -2413,6 +2403,20 @@ removed: v10.0.0
Used when a TLS renegotiation request has failed in a non-specific way.
+
+### `ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER`
+
+
+A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine
+or by Node.js was encountered during serialization. Such a `SharedArrayBuffer`
+cannot be serialized.
+
+This can only happen when native addons create `SharedArrayBuffer`s in
+"externalized" mode, or put existing `SharedArrayBuffer` into externalized mode.
+
### `ERR_UNKNOWN_BUILTIN_MODULE`