sort the book image