Create a java class implementing interface Comparator to sort a collection of objects of arbitrary class. The sorting field should be specified by string passed as constructor parameter (f.e. "object_name.field_name")
Anonymous
Java reflection + recursive method to sort recursive structure, like "parent_object_name.childobkect_name.field_name".
Check out your Company Bowl for anonymous work chats.