I have a google charts table full of data. Right now when a user tries to sort the table (by clicking on one of the column's header) the data is being sorted ascending, and a second click sorts the data again, this time descending. I want to reverse this behavior, and have the first click on a 'not-previously-sorted' column a descending sort, and the second click an ascending sort.
For example, in this http://jsfiddle.net/wrebr0ze/ the first click on the "Salary" header should make $12,500 appear on top. first click on "Name" header should make Mike appear on top.
I tried looking at the sort event, but although I can catch it, I do not want to sort the data myself, just want to make it trigger the right action. I looked at the api for such option but with no luck, sortAscending only works for the initial sort (before the data shows), not later.