Attempt to improve categorizing of books.
Fix for group sorting.
Merge pull request #309 from nZEDb/dev

Fix group sorting, attempt to improve book categorizing,