Lets say I have a custom data object...
class Data{
String firm;
String date;
int grossSales;
int netSales;
}
And I want to drop a bunch of these data objects into a
Java Collection (Vector? ArrayList? not sure).
How can I sort it on the avalable fields, first by firm, then date?
Thanks