A continuous flow bioreactor system that includes a bioreactor, an optional post-bioreactor preparation chamber, a cell sorter, and an optional pre-bioreactor preparation chamber in a closed loop, useful for enriching a heterogeneous cell population growing in the bioreactor with an isolated subpopulation of cells.