I have over a million ebooks and I want to put them into categories (ex. Fiction, Non-Fiction, Military, Cooking, etc) sort of like a book store would if you went into places like Barnes and Noble or Books-a-Million. I am very new to Calibre but I love how it does with getting all the information for the books but how can I get them to go into categories like this? Any help

would be great!