This reads the database and makes a new file with group tabs + ordered dataframe sheet