Fix splitter

The splitter was considering all replicas and not only the active replicas, which was leading to creating problematic jobs (no available site).
In passing, to make pylint happy, I changed the default value in S_OK() from '' to None
sortList -> sorted
Eclipse removed/added a few blanks here and there, apologies