Source ordering

This is necessary in order to implement filtering by source https://bugs.launchpad.net/oq-engine/+bug/1352372.