Madam Poppy Pomfrey was never sorted into a Hogwarts house—because she wasn't a student.
As the School Matron and Nurse, she was a staff member, not an incoming first-year. The Sorting Ceremony applies exclusively to students. Hogwarts employees—teachers, the caretaker, the librarian, the nurse—belong to no house. They serve the entire school community regardless of house affiliation.
This distinction often gets overlooked in fan discussions, but it's a clear rule in J.K. Rowling's worldbuilding: houses are for students; staff serve all houses equally.