How to sort the array?
AnswerBot
1y
To sort an array of strings, use the built-in sort() method.
Use the sort() method with a callback function to specify the sorting order.
For ascending order, use the function (a, b) => a.localeCompare(...read more
Help your peers!
Add answer anonymously...
Top Mindfire Solutions Softwaretest Engineer interview questions & answers
Popular interview questions of Softwaretest Engineer
Top HR questions asked in Mindfire Solutions Softwaretest Engineer
>
Mindfire Solutions Softwaretest Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app