Fix a bug when using influxdb: GUI shows negative CPU usage

Influxdb returns data in time descending order. However, our GUI assumes that data is in time increasing order. This gives us negative CPU usage on the page when using influxdb.

In this PR, we require the storage driver to return stats in time increasing order.