So I\'m trying to sort a simple ArrayAdapter for ListView. Here\'s what I\'ve tried:
ArrayAdapter
ListView lv; String[] months = { \"January\",
its simple if you already have another adapter you can just copy paste this code under declaration of adapter
adapter.sort(new Comparator() { @Override public int compare(String arg1, String arg0) { return arg1.compareTo(arg0); } });