order charts by table name