Fixed intermittently failing test caused by failure to sort selected players