Re: How to sort two dimensional array in java
Posted By:
WarnerJan_Veldhuis
Posted On:
Tuesday, January 17, 2006 08:32 AM
That all depends on what the contents of the array are. You need to know WHAT to sort the contents on. Are they Integers? Are they Strings? What is the natural sort order? Can you use a SortedSet or a SortedMap? Does the second dimension need to be sorted before the first?