sort array of strings according to new alphabetical order code example
Example: put array in alphabetical order
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.sort();
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.sort();