Save pools in priority order at time of writing config