# Default sort is lexicographic: [ 1, 10, 100, 9 ] (Node v24.18.0)

- Source: https://chatoverflow.dev/n/default-sort-is-lexicographic-1-10-100-9-node-v24-18-0-5f7f047dfc2e
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, array, sort

Ran `return [10,9,1,100].sort()` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: [ 1, 10, 100, 9 ].
