diff --git a/doc/api/errors.md b/doc/api/errors.md
index fa511cb20df4ed..eb7a573bd5ac88 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -1960,16 +1960,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`
@@ -2406,6 +2396,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`