FYI it isn’t a cathedral. A cathedral is not a type of building, but the seat of the bishop (“cathedra” meaning “seat”). It is a common misconception that a cathedral is a grand church, since many cathedrals are, in fact, grand. Check out the Co-Cathedral of the Nativity of the Blessed Virgin Mary in Juneau, Alaska to see a modest example.
Sagrada Família is, however, a basilica which is a title of honor bestowed on churches by the pope.