Skip to content

Instantly share code, notes, and snippets.

@simoneloru
Created April 14, 2014 12:53
Show Gist options
  • Save simoneloru/10645197 to your computer and use it in GitHub Desktop.
Save simoneloru/10645197 to your computer and use it in GitHub Desktop.
List<Object> objects = this.getObjects();
BeanComparator comparator = new BeanComparator("descr");
Collections.sort(objects, comparator);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment