Sorting a String Alpabetically

To Sort a String in alphabetical order instead of ASCII order (i.e A,a,B,b not A….Z,a….z), use the Collator class from the Java.text package.

Here

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: