Hi i run into a problem when sorting an arrayList as following (and yes i have imported util):
Collections.sort(personer);
I have this list:
private List<Person> personer;
public Register() {
personer = new ArrayList<Person>();
}
But i got the error:
mittscript.java:45: cannot find symbol symbol : method sort(java.util.List) location: class java.util.Collections Collections.sort(personer);