mapping.HasMany<ContentSubPage>(x => x.SubPages)
   .WithKeyColumn("ParentContentPageId")
   .Inverse()
   .Cascade.AllDeleteOrphan()
   .AsBag()
   .SetAttribute("order-by", "sort");
I tried the above, adding the 'order-by' attribute to the mapping but it is not producing an 'order by' in the SQL.
Any pointers?
Thanks,
Alan