@Override
        public int compare(Book b1, Book b2) {
            String bookGenre1 = b1.getGenre();
            String bookGenre2 = b2.getGenre();
            return bookGenre1.compareTo(bookGenre2);
        }