Added code for sorting the books, tests passed!