nJava provides a sort function for all basic data types and for Objects as well
nArrays.sort(arrayname);
uThis function will sort the entire array in ascending order (from smallest to largest)
nArrays.sort(arrayname, startIndex, endIndex);
uThis function call will sort the subset of the array, starting at startInded and finishing at endIndex
n