           title: true
           authors: true
         sort: created: 1
-      .forEach (msg) =>
+      if unit == 'hour'
+        msgs = _.sortBy msgs.fetch(), (msg) -> moment(msg.created).format 'HH:mm'
+      msgs.forEach (msg) =>
         switch unit
           when 'week'
             day = moment(msg.created).startOf 'day'

      weekDay = weekStart()
    format =
      switch unit
        when 'day', 'week'
          'ddd, MMM DD, YYYY' #'YYYY-MM-DD'
        when 'month'

        stats.labels.push lastDate.format format
        for dataset in stats.datasets
          dataset.data.push 0
      msgs = Messages.find stats.query.call(t)
      ,
        fields:
          created: true
