SELECT f.filepath,td.name FROM node n JOIN files f ON f.nid=n.nid JOIN term_node tn ON tn.nid=n.nid JOIN term_data td ON td.tid=tn.tid WHERE n.type='image' AND filename='_original' ORDER BY td.name