Ordering the sources after splitting-filtering them

See https://bugs.launchpad.net/oq-engine/+bug/1352372. Ordering the sources before splitting-filtering is not enough if the final goal is to parallelize the splitting-filtering, since the ordering will be lost if done before.
The tests are green: https://ci.openquake.org/job/zdevel_oq-commonlib/67/