added sorting by year and year-month and some css changes