Sort data sources by id.
Cleanup Query.prototype.getQueryResult and make sure it caches result by id.
Fix: series options not showing up when first running the query.