JavaScript now has non-mutating array methods ✨
`toSorted()`, `toReversed()`, `toSpliced()`, and `with()` return new arrays instead of modifying the original.
No more [...arr].sort() to avoid side effects.
Learn more 👇
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toSorted
