Made table names more consitent

Sorts the hashtags so the table names are not dependent on the order of hashtag input.