Requires storage driver to return stats in time increasing order.
Change influxdb driver to return stats in correct order.