Fix #11 by rewriting the query to get the categories summary order by name.
It's now using the sum(case when xxx then yyy end) statement.
Fix #9 by setting the last day of month in query