I need to sort list of strings in the alphabetical order:
List list = new ArrayList(); list.add(\"development\"); list.add(\"Development\"); li
I recently answered a similar question here. Applying the same approach to your problem would yield following solution:
list.sort( p2Ord(stringOrd, stringOrd).comap(new F>() { public P2 f(String s) { return p(s.toLowerCase(), s); } }) );