In the categories.yml file you will be able to create different categories and have a list of materials for each category:
categories:
examples:
name: Examples
materials:
- name: test name
- loreKey: test lore
- material: STONE
name: test stone
removeColor: true
- material: PAPER
modelId: 2500
blocks:
name: Blocks
materials:
- material: AIR
- material: STONE
- material: GRANITE
- material: POLISHED_GRANITE
- ...
potions:
name: Potions
materials:
- material: BLAZE_ROD
- material: GHAST_TEAR
- material: NETHER_STAR
- ...
tools:
name: Tools
materials:
- material: STONE_AXE
- material: STONE_SHOVEL
- material: STONE_HOE
- material: STONE_PICKAXE
- material: IRON_AXE
- ...
weapons:
name: Weapons
materials:
- material: FLINT_AND_STEEL
- material: BOW
- material: ARROW
- ...
misc:
name: Misc