Completed with Day2 assignments.

You need to do all operation in sequence i.e first declare, then sort on that array and then reverse the sorted array and so on.