A federal judge Tuesday ordered a rural county in southwestern Mississippi to stop segregating its schools by grouping African American students into all-black classrooms and allowing white students to transfer to the county's only majority-white school, the U.S. Justice Department announced.