Structure your document library into category-based folders. Nest folders within one another to create hierarchical categories and sub-categories with as many levels as you like.