You need to either add an alias or create a nested criterion for your child. Not sure how to do this in NHibernate, in Hibernate this is done using the createCriteria() and createAlias() methods. Then you should use the alias as a prefix in order.
Refresh Example hibernation code:
Criteria criteria = session.createCriteria(FooType.class); criteria.createAlias("bar", "b"); criteria.addOrder(Order.asc("b.color"));
I assume that in NHibernate this would be very similar, although with property / entity names uppercased. Here is an example from NHibernate documentation.
source share