how do they sort books in a library