select * from photos where passed=true and photobookid=26 order by orderid