js aphabatize list of words code example Example: put array in alphabetical order var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.sort();