sort data in each year

sort data according to year , month and day