I want to sort the list by the values โโin the list, it contains three values, the first value is an integer, I convert it to a string, and the other two values โโhave a string character, I want to sort the list by the first line.
List<List<String>> detail_View = new ArrayList<List<String>>(); List<String> fieldValues =fieldValues = new ArrayList<String>(); String aString = Integer.toString(ScreenId); fieldValues.add(aString); fieldValues.add(DisplayScreenName); fieldValues.add(TableDisplay); detail_View.add(fieldValues);
In the above code, I need to sort the list values โโusing ScreenId
source share