J jw56578 Sep 19, 2005 #1 What is a good method to sort objects in an arraylist by more than 1 field.
M Morten Wennevik Sep 19, 2005 #2 Hi jw56578, Well, you could do all necessary algorithms within the scope of the IComparable methods, or keep the regular comparing simple and use an IComparer object to sort with. Not sure if this is the answer you seek though.
Hi jw56578, Well, you could do all necessary algorithms within the scope of the IComparable methods, or keep the regular comparing simple and use an IComparer object to sort with. Not sure if this is the answer you seek though.
J Jeff Louie Sep 19, 2005 #3 This may help get you started: http://www.geocities.com/jeff_louie/OOP/oop15.htm Regards, Jeff