How Is Classical Classified?

How Is Classical Classified? Generally we classify them by structures – symphonies, concerti, sonate, opera and so on. And then we classify them in major periods – Medieval, Baroque, Classical, Romantic, 20-Century, Contemporary, Avant-garde. How do you classify classical music? Generally we classify them by structures – symphonies, concerti, sonate, opera and so on. And