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