:ruby
  @users_created_by_day = User.count(:group => 'date(created_at)')
#list
  %table.table.table-condensed.table-striped
    %thead
      %tr
        %th
          = "Day"
        %th
          = "Users Registered"
    %tbody
      - @users_created_by_day.keys.sort.each do |date|
        %tr
          %td
            = date
          %td
            = @users_created_by_day[date]

:ruby
  @users_created_by_day = User.count(:group => 'date(created_at)')
#list
  %table.table.table-condensed.table-striped
    %thead
      %tr
        %th
          = "Day"
        %th
          = "Users Registered"
    %tbody
      - @users_created_by_day.keys.sort.reverse.each do |date|
        %tr
          %td
            = date
          %td
            = @users_created_by_day[date]

Sort dates for signups (reverse)
Sort dates for signups (reverse)
