fix resource management when no_load_balancing option is activated:
* ensure that for each resource, the execution order is built in a deterministic manner