|
Nobody is going to write it for you but I'll give you some ideas. Put your objects into a vector and make sure that you have a method in your class for that object that has the comparable method, which tells how to compare the object. I think but could be wrong pass in the vector into Arrays.sort or there might be vector.sort, look in the api that should do it for yeah.
__________________
My IP address is 127.0.0.1
|