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