I have an ArrayList that contains objects which then contain strings as names.
I want to sort the ArrayList by the names of the obejcts. Any clever fast method?
ArrayList thisList = new ArrayList();
MyOwnClass myClass = new MyOwnClass("myName", 1,2,3,4);
Now I want to get a thisList that is sorted by myClass.getName().