Here is a simple sorting program of an ArrayList:
ArrayList list = new ArrayList(); list.add(\"1_Update\"); list.add(\"11_Add\")
Because strings are sorted in a alphabetic ordering and the underscore character is after characters for numbers. You have to provide a comparator implementing "Natural Order" to achieve desired result.