sort books by id asc