Always specify ORDER BY for queries

Highcharts complains and does strange things when the data sets are out
of order.
small chart plotting tweaks.