Alphabetizing and adding a new book to Javascript