Sorting refers to ordering data in an increasing or decreasing fashion according to some linear
relationship among the data items. Write a class Sorting() that has one member variable of
integer array sArray of size 5. The class will have 2 constructor functions; one default
and one parametrized. The default constructor initializes the sArray members with all zeros
whereas the parametrized constructor initializes sArray members with the members of array
ssArray passed to this constructor function while calling it from main program. The Sorting
class will have another member function setArrayValue which will input (unsorted) values
from the user and assign them to sArray when the Sorting object will be created with the
default constructor. The Sorting class will also have a member function Sort which when
called will sort the array sArray using any sorting algorithm and display the sorted data.
Write a main() program that creates an object S1 of class Sorting using default constructor,
assigns value to sArray, sorts them and displays the result. Create another object S2 of the same
class using the parametrized constructor and pass to it the (unsorted) array ssArray. The values
of ssArray can be either obtained from the user or assigned to it while declaring this array. Sort
the array ssArray and display the sorted data.
tips: you can sort numbers in any order either ascending or descending. You can use any sorting
algorithm you have studied in your previous course of Algorithms.
PLEASE ANYBODY HELP ME WRITE THIS CODE: :