Classifying C⁎-algebras with both finite and infinite subquotients