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