Update analytics.php

Community analytics filtering button-order. Fix the grouping to a logical order, ie; hour / day / week / month / year ... rather than hour / week / day .. etc.
Merge pull request #29 from JMSolo/patch-3

Update analytics.php