Well I solved my problem. Part of my original problem was in insisting to use a Set as opposed to using another type of Collection.
What I Did:
What I was trying to do was have my the associated Set of Speaker within SpeechTopic to be pre-sorted so that whenever I referenced an instance of SpeechTopic, I would be able to simply be able to pull that instance's Set speakers and it would be ready to go. This may still be possible as I will discuss later.
Instead what I did was use
tomaandtoma's advise and used a seperate call to pull a
List that was sorted. I used the example from
http://www.hibernate.org/hib_docs/reference/en/html/querycriteria.html#querycriteria-associations to place a secondary Criteria on the each Speaker's set of SpeechTopics, as such:
Code:
Session sess = HibernateSession.openSession();
Criteria crit = sess.createCriteria(Speaker.class);
[b]crit.createCriteria("topics").add(Restrictions.eq("id", Long.valueOf(id.longValue())));[/b]
crit.addOrder(Order.asc("lastName"));
request.setAttribute("speakers", crit.list());
This pulls a List of all Speakers who have the given SpeechTopic in their Set "topics".
What I Possibly Could Have Done:
I am not very familiar with these Collection types and I am using another person's code as my basis. The example code used Sets to handle these many-to-many object collections. I mistakenly took a List to be an ordered array of Strings.
What I might do in the future is to swap out my Sets for Lists, fill it with Composite-elements, and see if I can sort/order it that way.