When you put an @OrderBy on a @OneToMany ... like
@OneToMany(cascade=CascadeType.ALL) @OrderBy("qty desc") List details;
The order by clause is not being used during a lazy load query.
Note that the order by was being used when you fetch the master and join the details in a single query.
Fixed in HEAD.
Fix in BeanPropertyAssocMany.