Click on the top right, and there is an option to find books in groups. After clicking, you can click "New Group". After the grouping is established, you can press the books to be classified on the shelf, group them into the group you want to belong to, or classify them in the books managed in batches.
In short, you have to build a group before you can classify it.