---
title: "Comment by Bryan King Pecho on \"New Array Methods in Javascript\" | Hashnode"
description: "The Array.toSorted() method is a game-changer when it comes to sorting arrays without altering the original. Saves a lot of hassle!"
url: "https://hashnode.com/posts/new-array-methods-in-javascript/64771f65d6cf3778de7fe855/comment/647730888d2851ce07115660"
---

[Discussion](https://hashnode.com/posts/new-array-methods-in-javascript/64771f65d6cf3778de7fe855)

Comment [New Array Methods in Javascript](https://hashnode.com/posts/new-array-methods-in-javascript/64771f65d6cf3778de7fe855)

[Bryan King Pecho](https://hashnode.com/@bkpecho)

[May 31, 2023](https://hashnode.com/posts/new-array-methods-in-javascript/64771f65d6cf3778de7fe855/comment/647730888d2851ce07115660)

The Array.toSorted() method is a game-changer when it comes to sorting arrays without altering the original. Saves a lot of hassle!
