Sort Characters in String

# Introduction In this lab, we will explore how to sort characters in a string in alphabetical order using JavaScript. We will use the spread operator, `Array.prototype.sort()`, and `String.prototype.localeCompare()` to achieve this. By the end of the lab, you will have a good understanding of how to manipulate strings in JavaScript using these methods.

|
60 : 00

Click the virtual machine below to start practicing