it has 5^5 combinations which means there are 3125 difrent combinations. yes if we remove the two book ends(which, by speculation, are the aniect history one and the late modern magical era one) we still have 21 difrent combinations. I forgot to check the name of the quest but I know it was from the job board
Viewing post in Caliross, The Shapeshifter's Legacy comments
That one doesn't have a name (like all the mini-quests from the board, it doesn't get an entry into the questlog), you can however look at the board again if you need the basic details listed there. The outdoor area of the Tarkas Commercial district has its own entry in the walkthrough, if you need some help with any of them.
As for the solution, you simply need to arrange them alphabetically, the only challenge is that you must "swap" the books positions (so you select two books, swap them and continue until you have the right order).
P.S.
I don't think your math is right, given that you cannot place the same book twice.