How to sort two dimensional array in java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chandru_Erode
Posted On:   Tuesday, January 17, 2006 07:22 AM

I want the exact coding for sorting two dimensional array.Can any one help me with the exact coding?

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?
About | Sitemap | Contact