File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes sort -increasing order Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

sort -increasing order

sina milka
Greenhorn

Joined: Jan 30, 2004
Posts: 7
hi one and all,
I HAVE A TEXT FILE LIKE THIS
student id marks
001 154
002 144
003 132
004 175
005 163
: :
: : LIKE THAT.
now i have to sort the entire data according to the marks in increase order.should it be wriiten in a normaal coding usinf if else or is there any specific methods for such operations like sort().i read thru the sort, set and collections but i could not make out how to implement them with my problem.respond ASAP please.thanx in advace.
bye
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.
Let's continue this in the Intermediate forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
Don't get me started about those stupid light bulbs.
 
subject: sort -increasing order
 
Similar Threads
using for:each in xsl
Whats this ?
sorting data in increasing order
Multi dimensional arrays
Two Dimentional Array