If is in the same object, you should try obj.id = prop2.id.id and prop2.id.name = 'Datum' order by prop2.value.
obj.id = prop2.id.id and prop2.id.name = 'Datum' order by prop2.value