CLI also supports multi file paths or glob - so you can give it a bunch of package.json file(s) to sort.
Read the docs and eat your vegetables. Immutable data cannot be changed once created, leading to much simpler application development, no defensive copying, and enabling advanced memoization and ...