allow sorting on related mapper class