Created sortable table of habit data