Backend group entries by month/year