js: play with ordering. this all doesn't seem to work with timeseries charts.