News

The sort() function is very common and simply allows us to sort the elements of an array in place and returning the sorting array. The default sort order is ascending.