Sort Functionality implemented basic ascending and descending.