doc: fix the order of `process.md` sections · nodejs/node@e6e6ae8
@@ -982,6 +982,26 @@ $ bash -c 'exec -a customArgv0 ./node'
982982'customArgv0'
983983```
984984985+## `process.availableMemory()`
986+987+<!-- YAML
988+added:
989+ - v22.0.0
990+ - v20.13.0
991+changes:
992+ - version: v24.0.0
993+ pr-url: https://github.com/nodejs/node/pull/57765
994+ description: Change stability index for this feature from Experimental to Stable.
995+-->
996+997+* {number}
998+999+Gets the amount of free memory that is still available to the process
1000+(in bytes).
1001+1002+See [`uv_get_available_memory`][uv_get_available_memory] for more
1003+information.
1004+9851005## `process.channel`
98610069871007<!-- YAML
@@ -1155,26 +1175,6 @@ is unknown, `0` is returned.
11551175See [`uv_get_constrained_memory`][uv_get_constrained_memory] for more
11561176information.
115711771158-## `process.availableMemory()`
1159-1160-<!-- YAML
1161-added:
1162- - v22.0.0
1163- - v20.13.0
1164-changes:
1165- - version: v24.0.0
1166- pr-url: https://github.com/nodejs/node/pull/57765
1167- description: Change stability index for this feature from Experimental to Stable.
1168--->
1169-1170-* {number}
1171-1172-Gets the amount of free memory that is still available to the process
1173-(in bytes).
1174-1175-See [`uv_get_available_memory`][uv_get_available_memory] for more
1176-information.
1177-11781178## `process.cpuUsage([previousValue])`
1179117911801180<!-- YAML
@@ -1776,6 +1776,35 @@ that started the Node.js process. Symbolic links, if any, are resolved.
17761776'/usr/local/bin/node'
17771777```
177817781779+## `process.execve(file[, args[, env]])`
1780+1781+<!-- YAML
1782+added:
1783+ - v23.11.0
1784+ - v22.15.0
1785+-->
1786+1787+> Stability: 1 - Experimental
1788+1789+* `file` {string} The name or path of the executable file to run.
1790+* `args` {string\[]} List of string arguments. No argument can contain a null-byte (`\u0000`).
1791+* `env` {Object} Environment key-value pairs.
1792+ No key or value can contain a null-byte (`\u0000`).
1793+ **Default:** `process.env`.
1794+1795+Replaces the current process with a new process.
1796+1797+This is achieved by using the `execve` POSIX function and therefore no memory or other
1798+resources from the current process are preserved, except for the standard input,
1799+standard output and standard error file descriptor.
1800+1801+All other resources are discarded by the system when the processes are swapped, without triggering
1802+any exit or close events and without running any cleanup handler.
1803+1804+This function will never return, unless an error occurred.
1805+1806+This function is not available on Windows or IBM i.
1807+17791808## `process.exit([code])`
1780180917811810<!-- YAML
@@ -3354,35 +3383,6 @@ In custom builds from non-release versions of the source tree, only the
33543383`name` property may be present. The additional properties should not be
33553384relied upon to exist.
335633853357-## `process.execve(file[, args[, env]])`
3358-3359-<!-- YAML
3360-added:
3361- - v23.11.0
3362- - v22.15.0
3363--->
3364-3365-> Stability: 1 - Experimental
3366-3367-* `file` {string} The name or path of the executable file to run.
3368-* `args` {string\[]} List of string arguments. No argument can contain a null-byte (`\u0000`).
3369-* `env` {Object} Environment key-value pairs.
3370- No key or value can contain a null-byte (`\u0000`).
3371- **Default:** `process.env`.
3372-3373-Replaces the current process with a new process.
3374-3375-This is achieved by using the `execve` POSIX function and therefore no memory or other
3376-resources from the current process are preserved, except for the standard input,
3377-standard output and standard error file descriptor.
3378-3379-All other resources are discarded by the system when the processes are swapped, without triggering
3380-any exit or close events and without running any cleanup handler.
3381-3382-This function will never return, unless an error occurred.
3383-3384-This function is not available on Windows or IBM i.
3385-33863386## `process.report`
3387338733883388<!-- YAML