'sort()' Syntax, Parameters and Note : sort « Javascript Methods « JavaScript Reference

'sort()' Syntax, Parameters and Note

Note:

Sorts the elements in the array alphabetically.
    
Syntax:
    
arrayName.sort()

    

      
      








Related examples in the same category

1.'sort()' Example
2.'sort()' is applied to