How to Sort a String array in Android. By James | February 25, 2012 1 Comment Hello all…. This is a simple example showing how to sort a string array which is a arraylist in android. we sort the array using the “Collections” class in android. Here is a simple example Take a look at the LogCat for the output.