Collections.sort(teamsName.subList(1, teamsName.size()));
The code above will reflect the actual sublist of your original list sorted.
More Related Contents:
- Sorting an ArrayList of objects using a custom sorting order
- How to sort a List/ArrayList?
- How to sort an ArrayList in Java [duplicate]
- In Java how do you sort one list based on another?
- Sorting arraylist in alphabetical order (case insensitive)
- How to sort an ArrayList using multiple sorting criteria?
- Removing Duplicate Values from ArrayList
- Sorting ArrayList of Objects by Object attribute
- ArrayList is reinitialising when a method is called
- ArrayList Data Structure – Daily Temperature
- I am new in using ArrayLists. Array Out of Bounds, Array seems to be empty, but have been adding Strings to it already
- Convert ArrayList to String[] array [duplicate]
- How to count the number of occurrences of an element in a List
- Initial size for the ArrayList
- Sorted collection in Java
- Java: Detect duplicates in ArrayList?
- Variable length (Dynamic) Arrays in Java
- Performance differences between ArrayList and LinkedList
- How to get the last value of an ArrayList
- How to zip two Java Lists
- Java – Removing duplicates in an ArrayList
- Concurrent threads adding to ArrayList at same time – what happens?
- How do I declare a 2D String arraylist?
- casting Arrays.asList causing exception: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
- Time complexity of contains(Object o), in an ArrayList of Objects
- Sorting two arrays simultaneously
- Create an array of ArrayList elements
- Mergesort in java
- ArrayList Generic without Type
- Passing ArrayList of string arrays from one activity to another in android