This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
Hello, I'm not sure if this is the best forum for my question, sorting a Set seems to fit it. I'm working in .groovy files and have a hibernate.collection.PersistentSet that I need to sort in the following form:
The PersistentSet is returned with sp.repGroupProfiles, where sp is a db domain object and repGroupProfiles is part of has-many relation. I have sorting algorithms at hand way back from school, but before using them, I'd like to see if there is something else I could use. Ideally, I'd like to be able to sort right in render statement, but not sure if that's at all possible. If anyone knows of elegant solutions to this, I'd sure be happy to hear about them. Thank you in advance.