Sort Reverse Functionality Implemented and test case Written