I have a class say: \"ClassA\" which has a collection of \"ClassB\"
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY) @JoinColumn(name = \"COLUMN
This is possible if you use JPA. See this article.
Then you just add @OrderBy("name") to the collection property
@OrderBy("name")