Program to Sort the Array in an Ascending Order