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