Its not exactly what I had in mind but thanks for the hint, maybe I'll can use that someplace else.
the ordering that I wanted to have was for something like a simple query, not a relation like a bag or the likes. In SQL the query would read like
Code:
select id, some_other_column from some_table
no order is requested in the above query so nhibernate should append an order by id for this case.
Code:
select id, some_other_column from some_table order by id
Maybe there is a way to tell NHibernate to do this in the mapping files.