I'm interested in using the sort method of the array class.
sort(Object[] a, Comparator c)

I have anarray of ADTs cal them X[]. This type has many public varibles in the class. I'd like to sort the array by these varibles, this possible with X.sort(X, ???);?

Any other ideas? Or am i going to have to write the sorting method???

Thanks!

NOMAD