Are you using a Google Sheet to hold the chart? If you are you can use 
ORDER BY in the query to get the table. The help for that is at 
https://developers.google.com/chart/interactive/docs/querylanguage#order-by 
there's 
more at https://developers.google.com/chart/interactive/docs/spreadsheets 
and here's an example form one of my charts:

var queryString = encodeURIComponent('SELECT A, B, C, D, E order by A');
var query = new 
google.visualization.Query('https://docs.google.com/spreadsheets/d/1kjOTQMAlWc-j6G_XfFUJIzAxuvmyxygQh0q1Dpn4oRU/gviz/tq?gid=0&headers=1&tq='
 
+ queryString); 

You can also sort the table using one of the sort options from the help at 
https://developers.google.com/chart/interactive/docs/gallery/table and see 
https://stackoverflow.com/questions/23764280/sort-in-google-table-chart 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/50f7ec52-e7af-49fd-9f7c-7a28d4a7b344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to