Sorting the books into alphabetical order