Enhacement#249 add option to group by date+add toggle button funtionality

Other than Test Cases, The group by functionality along with the toggle button feature has been implemented. Kindly Merge