+ 1

Alphabetical list

How can I alphabetically arrange a list of names?

9th Jun 2018, 10:57 AM
Diaconu Marius
5 Respostas
+ 5
Use JS var arr=["d","a","c","b"] arr.sort() document.write(arr)
9th Jun 2018, 1:44 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
Thanks for the quick answer! I will try this!
9th Jun 2018, 11:24 AM
Diaconu Marius
+ 1
Not working... Only ad a, b, c... in front of the names... What I want is to sort the names alphabetically...
9th Jun 2018, 11:45 AM
Diaconu Marius
+ 1
So, I have a list of names that I need to display them alphabetically...
11th Jun 2018, 9:39 AM
Diaconu Marius