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

Functionality has been added . Kindly Review and Merge