I know there's gotta be a bookshelf patch coming soon, as they're not working right now. Perhaps something like this could be applied there too? I'm trying to collect a copy of every book in Skyrim. Perhaps in houses with enough bookshelves, you could link all the shelves in the house so you could just hit a button, and it will add any books you're carrying to the shelves and re-arrange them all in order A-Z, then any leftovers at the end of the alphabet would be in your inventory. Now just look at the end of the bookshelves and if the last book starts with an "N", you could sell any duplicates in your inventory (books starting with A-N) and place the rest of your books in a chest, or another house, or whatever. Hopefully that all made sense, and someone from Bethesda will hear this.