Skip to content

Instantly share code, notes, and snippets.

@mismatch
Created January 15, 2017 13:09
Show Gist options
  • Save mismatch/e3f4ebc0960dda39127226d682dd6d96 to your computer and use it in GitHub Desktop.
Save mismatch/e3f4ebc0960dda39127226d682dd6d96 to your computer and use it in GitHub Desktop.
static int compareItems(TestItem item1, TestItem item2) {
return item2.name.compareToIgnoreCase(item1.name);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment