change all_books array to order chronologically