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